Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.349/1.349, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 51.92 kB / 378.6 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2336, allocations: 53.37 MB / 432 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.027/0.2606, allocations: 24.95 MB / 456.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01366/0.2743, allocations: 7.497 MB / 464.4 MB, free: 6.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002677/0.2769, allocations: 218.9 kB / 464.6 MB, free: 6.059 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01907/0.296, allocations: 8.92 MB / 473.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008878/0.3049, allocations: 3.044 MB / 476.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004645/0.3095, allocations: 1.785 MB / 478.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01349/0.323, allocations: 10.95 MB / 489.3 MB, free: 13.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02366/0.3467, allocations: 14.36 MB / 0.4919 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008532/0.3552, allocations: 5.872 MB / 0.4976 GB, free: 8.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009808/0.365, allocations: 6.374 MB / 0.5038 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00365/0.3687, allocations: 1.668 MB / 0.5055 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005167/0.3738, allocations: 2.07 MB / 0.5075 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004327/0.3782, allocations: 3.16 MB / 0.5106 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009134/0.3873, allocations: 6.094 MB / 0.5165 GB, free: 5.504 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3815/0.7688, allocations: 22.39 MB / 0.5384 GB, free: 39.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7688, allocations: 1.25 kB / 0.5384 GB, free: 39.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.7688, allocations: 1.125 kB / 0.5384 GB, free: 39.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004577/0.7693, allocations: 0 / 0.5384 GB, free: 39.77 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03275/0.802, allocations: 12.9 MB / 0.551 GB, free: 36.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.8021, allocations: 9.531 kB / 0.551 GB, free: 36.43 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002338/0.8023, allocations: 284.1 kB / 0.5513 GB, free: 36.38 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002999/0.8053, allocations: 1.552 MB / 0.5528 GB, free: 36.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03097/0.8363, allocations: 6.18 MB / 0.5588 GB, free: 35.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01165/0.8479, allocations: 7.017 MB / 0.5657 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003984/0.8483, allocations: 0.6967 MB / 0.5663 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002442/0.8508, allocations: 0.9248 MB / 0.5672 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02582/0.8766, allocations: 15.79 MB / 0.5827 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002017/0.8768, allocations: 14.12 kB / 0.5827 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001118/0.8779, allocations: 390.2 kB / 0.583 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003277/0.8782, allocations: 0.5509 MB / 0.5836 GB, free: 21.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01902/0.8973, allocations: 14.81 MB / 0.598 GB, free: 6.457 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08045/0.9777, allocations: 49.93 MB / 0.6468 GB, free: 4.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01793/0.9956, allocations: 9.315 MB / 0.6559 GB, free: 12.22 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005106/1.001, allocations: 2.935 MB / 0.6588 GB, free: 9.289 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/1.001, allocations: 123.6 kB / 0.6589 GB, free: 9.191 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.393e-05/1.001, allocations: 81.36 kB / 0.659 GB, free: 9.105 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=400): time 5.259e-06/1.001, allocations: 0 / 0.659 GB, free: 9.105 MB / 0.4982 GB Notification: Performance of matching and sorting (n=467): time 0.06378/1.065, allocations: 26.88 MB / 0.6852 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/1.065, allocations: 99.06 kB / 0.6853 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00586/1.071, allocations: 3.701 MB / 0.6889 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000534/1.071, allocations: 101.7 kB / 0.689 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002955/1.074, allocations: 4.123 MB / 0.6931 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001739/1.076, allocations: 1.663 MB / 0.6947 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002262/1.078, allocations: 1.236 MB / 0.6959 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.079, allocations: 309.1 kB / 0.6962 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005689/1.084, allocations: 3.202 MB / 0.6993 GB, free: 15.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00784/1.092, allocations: 5.394 MB / 0.7046 GB, free: 9.504 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/1.105, allocations: 9.249 MB / 0.7136 GB, free: 15.56 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.337e-05/1.105, allocations: 20 kB / 0.7136 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of matching and sorting (n=815) (initialization): time 0.0205/1.126, allocations: 10.97 MB / 0.7243 GB, free: 5.051 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 6.991e-05/1.126, allocations: 39.94 kB / 0.7244 GB, free: 5.012 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000117/1.126, allocations: 68 kB / 0.7244 GB, free: 4.945 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007042/1.133, allocations: 2.451 MB / 0.7268 GB, free: 2.492 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005129/1.138, allocations: 1.341 MB / 0.7281 GB, free: 1.242 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0318/1.17, allocations: 20.51 MB / 0.7482 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004499/1.174, allocations: 347.5 kB / 0.7485 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/1.175, allocations: 310.3 kB / 0.7488 GB, free: 11.95 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (700): * Single equations (assignments): 697 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,44,41.8%), (14,44,39.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006833/1.182, allocations: 3.782 MB / 0.7525 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/1.184, allocations: 437.2 kB / 0.7529 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2216/1.405, allocations: 8.592 MB / 0.7613 GB, free: 225.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01182/1.417, allocations: 7.345 MB / 0.7685 GB, free: 224.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.232e-05/1.417, allocations: 23.16 kB / 0.7685 GB, free: 224.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.101e-05/1.417, allocations: 27.89 kB / 0.7685 GB, free: 224.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02598/1.443, allocations: 19.1 MB / 0.7872 GB, free: 216.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/1.443, allocations: 7.844 kB / 0.7872 GB, free: 216.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002546/1.446, allocations: 0.7447 MB / 0.7879 GB, free: 216.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005245/1.451, allocations: 2.197 MB / 0.79 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000368/1.451, allocations: 105.2 kB / 0.7901 GB, free: 216 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01975/1.471, allocations: 17.21 MB / 0.807 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.471, allocations: 8.75 kB / 0.807 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/1.487, allocations: 12.33 MB / 0.819 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002217/1.489, allocations: 1.045 MB / 0.82 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005409/1.49, allocations: 93.72 kB / 0.8201 GB, free: 191.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/1.492, allocations: 214.3 kB / 0.8203 GB, free: 191.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006918/1.492, allocations: 366.6 kB / 0.8207 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002514/1.493, allocations: 140 kB / 0.8208 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002605/1.495, allocations: 2.495 MB / 0.8232 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/1.495, allocations: 4 kB / 0.8232 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00465/1.5, allocations: 1.779 MB / 0.825 GB, free: 186.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (imcQS.stator.stray.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (401): * Single equations (assignments): 398 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,38,41.8%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01496/1.515, allocations: 13.1 MB / 0.8378 GB, free: 173.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01187/1.527, allocations: 8.543 MB / 0.8461 GB, free: 164.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/1.527, allocations: 0 / 0.8461 GB, free: 164.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00712/1.534, allocations: 4.313 MB / 0.8503 GB, free: 160.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004108/1.538, allocations: 0.9989 MB / 0.8513 GB, free: 159.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07061/1.609, allocations: 59.92 MB / 0.9098 GB, free: 97.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004778/1.613, allocations: 6.342 MB / 0.916 GB, free: 90.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003874/1.617, allocations: 1.927 MB / 0.9179 GB, free: 88.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004119/1.621, allocations: 3.37 MB / 0.9212 GB, free: 85.43 MB / 0.5919 GB Notification: Performance of SimCode: time 1.323e-06/1.621, allocations: 0 / 0.9212 GB, free: 85.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3708/1.992, allocations: 150.2 MB / 1.068 GB, free: 189 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.9/22.89, allocations: 17.16 kB / 1.068 GB, free: 189 MB / 0.5919 GB " [Timeout remaining time 637] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 26.34855743101798]