Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009666/0.0009666, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004755/0.004755, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8374/0.8374, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 319.8 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.872e-05, allocations: 2.281 kB / 319.8 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01525/0.01527, allocations: 21.44 MB / 341.2 MB, free: 252 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.02701, allocations: 7.54 MB / 348.7 MB, free: 8.684 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.02975, allocations: 214.9 kB / 348.9 MB, free: 8.473 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007943/0.03769, allocations: 8.251 MB / 357.2 MB, free: 204 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005308/0.043, allocations: 3.114 MB / 360.3 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.0455, allocations: 1.803 MB / 362.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008806/0.05431, allocations: 11.56 MB / 373.7 MB, free: 15.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01458/0.06889, allocations: 14.53 MB / 388.2 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009848/0.07874, allocations: 8.893 MB / 397.1 MB, free: 8.098 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00703/0.08577, allocations: 5.614 MB / 402.7 MB, free: 2.473 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002072/0.08784, allocations: 1.715 MB / 404.4 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.0905, allocations: 2.128 MB / 406.5 MB, free: 14.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001738/0.09224, allocations: 3.472 MB / 410 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004174/0.09641, allocations: 4.23 MB / 414.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01689/0.1133, allocations: 23.46 MB / 437.7 MB, free: 15.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1133, allocations: 0 / 437.7 MB, free: 15.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1133, allocations: 4 kB / 437.7 MB, free: 15.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004458/0.1138, allocations: 0 / 437.7 MB, free: 15.38 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.02158/0.1353, allocations: 13.42 MB / 451.1 MB, free: 1.863 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1354, allocations: 20.8 kB / 451.2 MB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3348/0.4702, allocations: 6.322 MB / 457.5 MB, free: 107.3 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009759/0.4799, allocations: 7.352 MB / 464.8 MB, free: 103 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002554/0.4802, allocations: 0.7184 MB / 465.6 MB, free: 102.3 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001622/0.4818, allocations: 0.9399 MB / 466.5 MB, free: 101.4 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01806/0.4999, allocations: 16.28 MB / 482.8 MB, free: 85.05 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001518/0.5, allocations: 11.95 kB / 482.8 MB, free: 85.04 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006594/0.5007, allocations: 399.3 kB / 483.2 MB, free: 84.66 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002776/0.501, allocations: 0.563 MB / 483.7 MB, free: 84.1 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01512/0.5161, allocations: 15.04 MB / 498.8 MB, free: 69.03 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03943/0.5555, allocations: 45.35 MB / 0.5314 GB, free: 23.45 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007647/0.5632, allocations: 8.507 MB / 0.5397 GB, free: 15.71 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002806/0.566, allocations: 3.301 MB / 0.5429 GB, free: 12.4 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/0.5662, allocations: 99.42 kB / 0.543 GB, free: 12.3 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.5662, allocations: 78.06 kB / 0.5431 GB, free: 12.22 MB / 410.8 MB Notification: Performance of pre-optimization done (n=447): time 6.071e-06/0.5662, allocations: 4 kB / 0.5431 GB, free: 12.21 MB / 410.8 MB Notification: Performance of matching and sorting (n=452): time 0.02669/0.5929, allocations: 20.28 MB / 0.5629 GB, free: 8.137 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.593, allocations: 94.95 kB / 0.563 GB, free: 8.031 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004406/0.5974, allocations: 4.395 MB / 0.5673 GB, free: 3.652 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00019/0.5976, allocations: 101.7 kB / 0.5674 GB, free: 3.547 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002195/0.5998, allocations: 4.323 MB / 0.5716 GB, free: 15.2 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009258/0.6007, allocations: 1.589 MB / 0.5731 GB, free: 13.64 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001548/0.6022, allocations: 1.188 MB / 0.5743 GB, free: 12.44 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.6023, allocations: 304.9 kB / 0.5746 GB, free: 12.14 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003237/0.6056, allocations: 3.065 MB / 0.5776 GB, free: 9.07 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004227/0.6098, allocations: 5.231 MB / 0.5827 GB, free: 2.859 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007503/0.6173, allocations: 8.856 MB / 0.5913 GB, free: 9.031 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.881e-05/0.6173, allocations: 20 kB / 0.5914 GB, free: 9.012 MB / 458.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01128/0.6286, allocations: 9.788 MB / 0.6009 GB, free: 15.21 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.6287, allocations: 32 kB / 0.6009 GB, free: 15.18 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.051e-05/0.6287, allocations: 71.94 kB / 0.601 GB, free: 15.11 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002083/0.6308, allocations: 1.369 MB / 0.6024 GB, free: 13.73 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/0.6333, allocations: 1.388 MB / 0.6037 GB, free: 12.34 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.6443, allocations: 12.06 MB / 0.6155 GB, free: 92 kB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1845/0.8288, allocations: 347.2 kB / 0.6158 GB, free: 149.9 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008669/0.8297, allocations: 299 kB / 0.6161 GB, free: 149.9 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * 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.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005527/0.8352, allocations: 3.884 MB / 0.6199 GB, free: 149.7 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007316/0.8359, allocations: 463.1 kB / 0.6203 GB, free: 149.7 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007559/0.8435, allocations: 8.428 MB / 0.6286 GB, free: 146.4 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00611/0.8496, allocations: 6.172 MB / 0.6346 GB, free: 144 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/0.8496, allocations: 11.44 kB / 0.6346 GB, free: 144 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.87e-05/0.8496, allocations: 23.39 kB / 0.6346 GB, free: 144 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.8659, allocations: 14.92 MB / 0.6492 GB, free: 134.9 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.8659, allocations: 11.94 kB / 0.6492 GB, free: 134.9 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/0.8675, allocations: 0.8066 MB / 0.65 GB, free: 134.2 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/0.8693, allocations: 1.251 MB / 0.6512 GB, free: 133.3 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002154/0.8695, allocations: 103.4 kB / 0.6513 GB, free: 133.2 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007764/0.8772, allocations: 10.97 MB / 0.662 GB, free: 122.8 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.8772, allocations: 11.94 kB / 0.662 GB, free: 122.8 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009499/0.8867, allocations: 11.1 MB / 0.6729 GB, free: 111.8 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/0.8883, allocations: 1.03 MB / 0.6739 GB, free: 111 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003284/0.8887, allocations: 91.98 kB / 0.674 GB, free: 110.9 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.8897, allocations: 231.8 kB / 0.6742 GB, free: 110.7 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004098/0.8902, allocations: 346.5 kB / 0.6745 GB, free: 110.3 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/0.8903, allocations: 136 kB / 0.6747 GB, free: 110.2 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002641/0.893, allocations: 2.942 MB / 0.6775 GB, free: 107.3 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.893, allocations: 0 / 0.6775 GB, free: 107.3 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.004008/0.897, allocations: 1.718 MB / 0.6792 GB, free: 105.6 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (417): * Single equations (assignments): 414 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001118/0.8981, allocations: 0.5801 MB / 0.6798 GB, free: 105.2 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.00727/0.9054, allocations: 7.637 MB / 0.6872 GB, free: 97.52 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.9054, allocations: 4 kB / 0.6872 GB, free: 97.52 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003343/0.9087, allocations: 3.666 MB / 0.6908 GB, free: 93.83 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.9113, allocations: 0.948 MB / 0.6917 GB, free: 92.91 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/0.9298, allocations: 18.01 MB / 0.7093 GB, free: 74.77 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003773/0.9336, allocations: 5.883 MB / 0.7151 GB, free: 68.85 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/0.9349, allocations: 420.4 kB / 0.7155 GB, free: 68.44 MB / 474.8 MB Notification: Performance of SimCode: time 1.813e-06/0.9349, allocations: 0 / 0.7155 GB, free: 68.44 MB / 474.8 MB Notification: Performance of Templates: time 0.306/1.241, allocations: 230 MB / 0.94 GB, free: 31.96 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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: 14.007930637337267]