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.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.001974/0.001974, allocations: 92.33 kB / 21.73 MB, free: 2.68 MB / 18.57 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.002708/0.002708, allocations: 157.9 kB / 25.02 MB, free: 8.965 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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=100000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 250.4 MB, free: 7.773 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.269e-05/3.437e-05, allocations: 5.828 kB / 250.4 MB, free: 7.77 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.03311/0.03315, allocations: 21.55 MB / 272 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02178/0.05493, allocations: 7.479 MB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006626/0.06156, allocations: 183.1 kB / 279.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02358/0.08514, allocations: 8.251 MB / 287.9 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01342/0.09855, allocations: 3.131 MB / 291 MB, free: 15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006929/0.1055, allocations: 1.808 MB / 292.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02061/0.1261, allocations: 11.67 MB / 304.5 MB, free: 1.473 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03732/0.1634, allocations: 14.56 MB / 319.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02301/0.1864, allocations: 8.986 MB / 328 MB, free: 9.754 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0144/0.2008, allocations: 5.727 MB / 333.8 MB, free: 4.016 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006556/0.2074, allocations: 1.723 MB / 335.5 MB, free: 2.293 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009665/0.217, allocations: 2.124 MB / 337.6 MB, free: 172 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009369/0.2264, allocations: 3.522 MB / 341.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0166/0.243, allocations: 4.289 MB / 345.4 MB, free: 8.336 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2211/0.4641, allocations: 23.51 MB / 368.9 MB, free: 51.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4642, allocations: 0 / 368.9 MB, free: 51.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4642, allocations: 0 / 368.9 MB, free: 51.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0009348/0.4651, allocations: 0 / 368.9 MB, free: 51.14 MB / 330.7 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.05521/0.5203, allocations: 13.6 MB / 382.5 MB, free: 45.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.5204, allocations: 15.83 kB / 382.6 MB, free: 45.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04749/0.5678, allocations: 9.019 MB / 391.6 MB, free: 41.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01889/0.5867, allocations: 6.762 MB / 398.3 MB, free: 37.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008529/0.5876, allocations: 0.735 MB / 399.1 MB, free: 36.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006528/0.5941, allocations: 0.9613 MB / 400 MB, free: 35.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05444/0.6486, allocations: 16.74 MB / 416.8 MB, free: 18.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004011/0.649, allocations: 11.95 kB / 416.8 MB, free: 18.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00488/0.6538, allocations: 415.7 kB / 417.2 MB, free: 18.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005455/0.6544, allocations: 0.5869 MB / 417.8 MB, free: 17.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03725/0.6916, allocations: 15.71 MB / 433.5 MB, free: 1.828 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1242/0.8158, allocations: 47.57 MB / 481.1 MB, free: 2.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02104/0.8369, allocations: 9.331 MB / 490.4 MB, free: 9.891 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007481/0.8443, allocations: 3.466 MB / 493.9 MB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.206/1.05, allocations: 10.18 MB / 0.4922 GB, free: 132.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/1.05, allocations: 69.45 kB / 0.4923 GB, free: 132.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=357): time 6.722e-06/1.05, allocations: 0 / 0.4923 GB, free: 132.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=362): time 0.03555/1.086, allocations: 17.31 MB / 0.5092 GB, free: 128.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/1.086, allocations: 89.47 kB / 0.5093 GB, free: 128.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005476/1.091, allocations: 4.684 MB / 0.5139 GB, free: 126.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005249/1.092, allocations: 82.11 kB / 0.5139 GB, free: 126.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002233/1.094, allocations: 4.624 MB / 0.5185 GB, free: 122.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001462/1.096, allocations: 1.295 MB / 0.5197 GB, free: 121.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001914/1.098, allocations: 1.177 MB / 0.5209 GB, free: 121.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.857e-05/1.098, allocations: 315.5 kB / 0.5212 GB, free: 121 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/1.101, allocations: 2.887 MB / 0.524 GB, free: 119.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00437/1.106, allocations: 5.288 MB / 0.5292 GB, free: 113.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008775/1.114, allocations: 8.627 MB / 0.5376 GB, free: 104.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.099e-05/1.115, allocations: 24 kB / 0.5376 GB, free: 104.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01561/1.13, allocations: 9.833 MB / 0.5472 GB, free: 95.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.358e-05/1.13, allocations: 40 kB / 0.5472 GB, free: 95.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001456/1.13, allocations: 76 kB / 0.5473 GB, free: 95.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004288/1.135, allocations: 1.623 MB / 0.5489 GB, free: 93.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005007/1.14, allocations: 1.326 MB / 0.5502 GB, free: 92.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/1.154, allocations: 12.13 MB / 0.562 GB, free: 79.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006506/1.16, allocations: 372.2 kB / 0.5624 GB, free: 79.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/1.162, allocations: 300 kB / 0.5627 GB, free: 79.25 MB / 394.7 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.007374/1.169, allocations: 3.915 MB / 0.5665 GB, free: 75.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/1.17, allocations: 0.5606 MB / 0.5671 GB, free: 74.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/1.181, allocations: 6.686 MB / 0.5736 GB, free: 68.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007492/1.188, allocations: 5.51 MB / 0.579 GB, free: 62.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/1.188, allocations: 22.94 kB / 0.579 GB, free: 62.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.748e-05/1.188, allocations: 15.94 kB / 0.579 GB, free: 62.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02292/1.211, allocations: 13.02 MB / 0.5917 GB, free: 49.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/1.211, allocations: 4 kB / 0.5917 GB, free: 49.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002687/1.214, allocations: 0.6753 MB / 0.5924 GB, free: 48.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003884/1.218, allocations: 1.469 MB / 0.5938 GB, free: 47.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004354/1.218, allocations: 87.97 kB / 0.5939 GB, free: 47.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/1.231, allocations: 11.04 MB / 0.6047 GB, free: 35.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.231, allocations: 7.938 kB / 0.6047 GB, free: 35.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/1.245, allocations: 10.05 MB / 0.6145 GB, free: 25.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002797/1.248, allocations: 0.9654 MB / 0.6154 GB, free: 24.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/1.249, allocations: 68 kB / 0.6155 GB, free: 24.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004157/1.254, allocations: 223.8 kB / 0.6157 GB, free: 24.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001113/1.255, allocations: 286.9 kB / 0.616 GB, free: 24.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005112/1.255, allocations: 112 kB / 0.6161 GB, free: 24.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.007727/1.263, allocations: 3.064 MB / 0.6191 GB, free: 21.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.263, allocations: 0 / 0.6191 GB, free: 21.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01232/1.275, allocations: 1.684 MB / 0.6207 GB, free: 19.35 MB / 394.7 MB 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.003594/1.279, allocations: 0.5236 MB / 0.6212 GB, free: 18.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01883/1.298, allocations: 7.207 MB / 0.6283 GB, free: 11.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/1.298, allocations: 4 kB / 0.6283 GB, free: 11.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009914/1.308, allocations: 3.357 MB / 0.6316 GB, free: 8.293 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009829/1.317, allocations: 0.9572 MB / 0.6325 GB, free: 7.328 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2188/1.536, allocations: 18.28 MB / 0.6504 GB, free: 114.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01233/1.549, allocations: 6.112 MB / 0.6563 GB, free: 113.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.008286/1.557, allocations: 2.112 MB / 0.6584 GB, free: 113.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/1.558, allocations: 344.4 kB / 0.6587 GB, free: 113.8 MB / 394.7 MB Notification: Performance of SimCode: time 2.725e-06/1.558, allocations: 0 / 0.6587 GB, free: 113.8 MB / 394.7 MB Notification: Performance of Templates: time 0.1035/1.662, allocations: 62.01 MB / 0.7193 GB, free: 64.69 MB / 394.7 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.107125423033722]