Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 102 kB / 18.39 MB, free: 4.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 190.5 kB / 19.33 MB, free: 3.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 47.94 kB / 329.2 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09177/0.0932, allocations: 46.62 MB / 375.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.262/0.3552, allocations: 24.96 MB / 400.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02269/0.378, allocations: 7.717 MB / 408.6 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009322/0.3874, allocations: 154.9 kB / 408.7 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02345/0.4109, allocations: 8.369 MB / 417.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01538/0.4263, allocations: 3.048 MB / 420.1 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007548/0.4339, allocations: 1.784 MB / 421.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01896/0.4529, allocations: 11.22 MB / 433.1 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04583/0.4988, allocations: 23.34 MB / 456.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01316/0.512, allocations: 5.985 MB / 462.4 MB, free: 8.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01384/0.5259, allocations: 6.541 MB / 469 MB, free: 2.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006099/0.5321, allocations: 1.727 MB / 470.7 MB, free: 0.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0116/0.5437, allocations: 2.125 MB / 472.8 MB, free: 14.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00646/0.5502, allocations: 3.457 MB / 476.3 MB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01528/0.5655, allocations: 6.432 MB / 482.7 MB, free: 4.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03462/0.6002, allocations: 23.13 MB / 0.494 GB, free: 13.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.6003, allocations: 8 kB / 0.494 GB, free: 13.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.6003, allocations: 0 / 0.494 GB, free: 13.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008271/0.6011, allocations: 0 / 0.494 GB, free: 13.29 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.05042/0.6516, allocations: 13.55 MB / 0.5072 GB, free: 15.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.6516, allocations: 12.03 kB / 0.5073 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04261/0.6943, allocations: 7.252 MB / 0.5143 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01868/0.713, allocations: 6.5 MB / 0.5207 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009521/0.714, allocations: 0.7266 MB / 0.5214 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00539/0.7194, allocations: 0.9569 MB / 0.5223 GB, free: 84 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05081/0.7703, allocations: 16.59 MB / 0.5385 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005758/0.7709, allocations: 15.78 kB / 0.5386 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004841/0.7757, allocations: 408 kB / 0.5389 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000817/0.7766, allocations: 0.5985 MB / 0.5395 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5664/1.343, allocations: 15.78 MB / 0.5549 GB, free: 132.8 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1074/1.45, allocations: 53.27 MB / 0.607 GB, free: 100.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01757/1.468, allocations: 22.73 MB / 0.6292 GB, free: 79.53 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005664/1.474, allocations: 3.8 MB / 0.6329 GB, free: 77.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01628/1.49, allocations: 11.68 MB / 0.6443 GB, free: 66.05 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.883e-05/1.49, allocations: 76.86 kB / 0.6443 GB, free: 65.97 MB / 478.1 MB Notification: Performance of pre-optimization done (n=357): time 7.334e-06/1.49, allocations: 0 / 0.6443 GB, free: 65.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=362): time 0.03658/1.527, allocations: 17.51 MB / 0.6614 GB, free: 48.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/1.527, allocations: 90.25 kB / 0.6615 GB, free: 48.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006381/1.533, allocations: 4.761 MB / 0.6662 GB, free: 43.45 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006356/1.534, allocations: 85.7 kB / 0.6663 GB, free: 43.36 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002161/1.536, allocations: 4.477 MB / 0.6706 GB, free: 38.85 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001185/1.537, allocations: 1.255 MB / 0.6719 GB, free: 37.61 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001591/1.539, allocations: 1.187 MB / 0.673 GB, free: 36.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.617e-05/1.539, allocations: 305.1 kB / 0.6733 GB, free: 36.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003719/1.543, allocations: 2.904 MB / 0.6761 GB, free: 33.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004532/1.547, allocations: 5.262 MB / 0.6813 GB, free: 26.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009497/1.557, allocations: 8.64 MB / 0.6897 GB, free: 17.08 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.79e-05/1.557, allocations: 24 kB / 0.6897 GB, free: 17.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01552/1.573, allocations: 9.61 MB / 0.6991 GB, free: 7.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/1.573, allocations: 40.94 kB / 0.6992 GB, free: 7.371 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/1.573, allocations: 76 kB / 0.6992 GB, free: 7.297 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003447/1.576, allocations: 1.434 MB / 0.7006 GB, free: 5.859 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004656/1.581, allocations: 1.334 MB / 0.7019 GB, free: 4.523 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/1.6, allocations: 12.68 MB / 0.7143 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005889/1.606, allocations: 371.5 kB / 0.7147 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/1.607, allocations: 304 kB / 0.715 GB, free: 6.922 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (689): * Single equations (assignments): 686 * 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 {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009645/1.617, allocations: 3.924 MB / 0.7188 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001883/1.619, allocations: 450.4 kB / 0.7192 GB, free: 2.539 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01646/1.636, allocations: 6.769 MB / 0.7258 GB, free: 11.72 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01164/1.647, allocations: 5.576 MB / 0.7313 GB, free: 6.113 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.163e-05/1.647, allocations: 16 kB / 0.7313 GB, free: 6.098 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.439e-05/1.647, allocations: 19.92 kB / 0.7313 GB, free: 6.078 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03486/1.682, allocations: 15.44 MB / 0.7464 GB, free: 6.527 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/1.682, allocations: 8.594 kB / 0.7464 GB, free: 6.52 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003243/1.686, allocations: 0.6709 MB / 0.7471 GB, free: 5.848 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003746/1.689, allocations: 1.298 MB / 0.7483 GB, free: 4.547 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000651/1.69, allocations: 87.97 kB / 0.7484 GB, free: 4.461 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2698/1.96, allocations: 11.54 MB / 0.7597 GB, free: 167.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/1.96, allocations: 10.88 kB / 0.7597 GB, free: 167.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01849/1.978, allocations: 10 MB / 0.7695 GB, free: 163.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002725/1.981, allocations: 1.023 MB / 0.7705 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007384/1.982, allocations: 72.23 kB / 0.7705 GB, free: 163.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002341/1.984, allocations: 218.6 kB / 0.7707 GB, free: 163.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008562/1.985, allocations: 270.7 kB / 0.771 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002814/1.985, allocations: 111.9 kB / 0.7711 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00628/1.992, allocations: 3.241 MB / 0.7743 GB, free: 162 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2e-07/1.992, allocations: 0 / 0.7743 GB, free: 162 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008029/2, allocations: 1.696 MB / 0.7759 GB, free: 161.9 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (333): * Single equations (assignments): 330 * 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 {(1,6,100.0%), (14,54,43.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001677/2.001, allocations: 0.5133 MB / 0.7764 GB, free: 161.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01293/2.014, allocations: 7.532 MB / 0.7838 GB, free: 158.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/2.014, allocations: 4.938 kB / 0.7838 GB, free: 158.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006301/2.021, allocations: 3.602 MB / 0.7873 GB, free: 157 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005375/2.026, allocations: 1.031 MB / 0.7883 GB, free: 156.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0308/2.057, allocations: 17.52 MB / 0.8054 GB, free: 144.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006809/2.064, allocations: 6.369 MB / 0.8116 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001921/2.066, allocations: 410.4 kB / 0.812 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of SimCode: time 7.11e-07/2.066, allocations: 0 / 0.812 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of Templates: time 0.5181/2.584, allocations: 228.4 MB / 1.035 GB, free: 101 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches