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.001133/0.001133, allocations: 105.5 kB / 17.73 MB, free: 5.238 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.001194/0.001194, allocations: 187.1 kB / 18.66 MB, free: 4.312 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.559/1.559, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001445/0.001446, allocations: 51.92 kB / 328.6 MB, free: 3.23 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1102, allocations: 46.61 MB / 375.2 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2762/0.3865, allocations: 24.96 MB / 400.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02281/0.4093, allocations: 7.717 MB / 407.9 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01037/0.4198, allocations: 150.8 kB / 408 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02377/0.4436, allocations: 8.373 MB / 416.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01475/0.4584, allocations: 3.045 MB / 419.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007979/0.4664, allocations: 1.788 MB / 421.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01991/0.4863, allocations: 11.22 MB / 432.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05044/0.5368, allocations: 23.34 MB / 455.8 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01433/0.5512, allocations: 5.989 MB / 461.8 MB, free: 8.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01426/0.5655, allocations: 6.533 MB / 468.3 MB, free: 2.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006613/0.5722, allocations: 1.73 MB / 470 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009802/0.582, allocations: 2.125 MB / 472.2 MB, free: 14.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007476/0.5896, allocations: 3.457 MB / 475.6 MB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01564/0.6053, allocations: 6.436 MB / 482.1 MB, free: 4.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03505/0.6404, allocations: 23.14 MB / 0.4934 GB, free: 13.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.6404, allocations: 4 kB / 0.4934 GB, free: 13.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6404, allocations: 0 / 0.4934 GB, free: 13.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007345/0.6412, allocations: 0 / 0.4934 GB, free: 13.25 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.05089/0.6921, allocations: 13.54 MB / 0.5066 GB, free: 15.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.6921, allocations: 19.97 kB / 0.5066 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04249/0.7346, allocations: 7.248 MB / 0.5137 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0167/0.7514, allocations: 6.492 MB / 0.52 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009893/0.7524, allocations: 0.7305 MB / 0.5207 GB, free: 1.012 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005394/0.7578, allocations: 0.9569 MB / 0.5217 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04897/0.8068, allocations: 16.59 MB / 0.5379 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005389/0.8074, allocations: 15.91 kB / 0.5379 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004335/0.8117, allocations: 404 kB / 0.5383 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007208/0.8125, allocations: 0.5946 MB / 0.5389 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4721/1.285, allocations: 15.79 MB / 0.5543 GB, free: 132.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1065/1.391, allocations: 53.27 MB / 0.6063 GB, free: 100 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02092/1.412, allocations: 22.73 MB / 0.6285 GB, free: 79.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006375/1.419, allocations: 3.805 MB / 0.6322 GB, free: 77.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0182/1.437, allocations: 11.68 MB / 0.6436 GB, free: 66 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.697e-05/1.437, allocations: 73.3 kB / 0.6437 GB, free: 65.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=357): time 6.031e-06/1.437, allocations: 3.219 kB / 0.6437 GB, free: 65.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=362): time 0.03743/1.474, allocations: 17.51 MB / 0.6608 GB, free: 48.29 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/1.474, allocations: 90.25 kB / 0.6609 GB, free: 48.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006311/1.481, allocations: 4.761 MB / 0.6655 GB, free: 43.39 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008601/1.482, allocations: 81.7 kB / 0.6656 GB, free: 43.31 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002081/1.484, allocations: 4.48 MB / 0.67 GB, free: 38.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001483/1.485, allocations: 1.253 MB / 0.6712 GB, free: 37.56 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001681/1.487, allocations: 1.183 MB / 0.6724 GB, free: 36.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.198e-05/1.487, allocations: 305.1 kB / 0.6726 GB, free: 36.06 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003644/1.491, allocations: 2.9 MB / 0.6755 GB, free: 33.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004598/1.495, allocations: 5.262 MB / 0.6806 GB, free: 26.79 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009266/1.505, allocations: 8.64 MB / 0.6891 GB, free: 17.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.696e-05/1.505, allocations: 24 kB / 0.6891 GB, free: 17.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01628/1.521, allocations: 9.618 MB / 0.6985 GB, free: 7.363 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.657e-05/1.521, allocations: 44.98 kB / 0.6985 GB, free: 7.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/1.521, allocations: 79.98 kB / 0.6986 GB, free: 7.242 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003486/1.525, allocations: 1.438 MB / 0.7 GB, free: 5.801 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006541/1.531, allocations: 1.334 MB / 0.7013 GB, free: 4.465 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02724/1.558, allocations: 12.66 MB / 0.7137 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005817/1.564, allocations: 367.5 kB / 0.714 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001512/1.566, allocations: 300 kB / 0.7143 GB, free: 6.879 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.009079/1.575, allocations: 3.927 MB / 0.7181 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001785/1.577, allocations: 454.4 kB / 0.7186 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01473/1.592, allocations: 6.768 MB / 0.7252 GB, free: 11.67 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009866/1.601, allocations: 5.584 MB / 0.7306 GB, free: 6.051 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/1.601, allocations: 16 kB / 0.7306 GB, free: 6.035 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.923e-05/1.602, allocations: 15.94 kB / 0.7307 GB, free: 6.02 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02957/1.631, allocations: 15.44 MB / 0.7457 GB, free: 6.473 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/1.631, allocations: 12.58 kB / 0.7458 GB, free: 6.461 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003053/1.634, allocations: 0.6669 MB / 0.7464 GB, free: 5.793 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00375/1.638, allocations: 1.301 MB / 0.7477 GB, free: 4.492 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006248/1.639, allocations: 87.97 kB / 0.7478 GB, free: 4.406 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2675/1.906, allocations: 11.54 MB / 0.759 GB, free: 167.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.906, allocations: 8.875 kB / 0.759 GB, free: 167.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0186/1.925, allocations: 10 MB / 0.7688 GB, free: 163.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005099/1.93, allocations: 1.025 MB / 0.7698 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002463/1.932, allocations: 68.75 kB / 0.7699 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005008/1.938, allocations: 218.5 kB / 0.7701 GB, free: 163.1 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001535/1.939, allocations: 279.8 kB / 0.7703 GB, free: 163.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004565/1.94, allocations: 111.8 kB / 0.7704 GB, free: 163.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.01005/1.95, allocations: 3.233 MB / 0.7736 GB, free: 161.9 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.21e-07/1.95, allocations: 0 / 0.7736 GB, free: 161.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01455/1.964, allocations: 1.696 MB / 0.7753 GB, free: 161.7 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.002605/1.967, allocations: 0.499 MB / 0.7758 GB, free: 161.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0214/1.988, allocations: 7.544 MB / 0.7831 GB, free: 158.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/1.988, allocations: 0 / 0.7831 GB, free: 158.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.009129/1.997, allocations: 3.598 MB / 0.7866 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008669/2.006, allocations: 1.039 MB / 0.7876 GB, free: 156.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03699/2.043, allocations: 17.77 MB / 0.805 GB, free: 144.3 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007994/2.051, allocations: 6.554 MB / 0.8114 GB, free: 139.2 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005717/2.057, allocations: 2.104 MB / 0.8135 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/2.058, allocations: 357.4 kB / 0.8138 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of SimCode: time 9.52e-07/2.058, allocations: 0 / 0.8138 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of Templates: time 0.1111/2.169, allocations: 68.3 MB / 0.8805 GB, free: 70.62 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/jenkins/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/jenkins/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