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_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.001897/0.001897, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002207/0.002207, allocations: 203.5 kB / 23.73 MB, free: 4.379 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 7.793 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: 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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 43.92 kB / 378.3 MB, free: 2.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2415, allocations: 53.37 MB / 431.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02719/0.2687, allocations: 21.48 MB / 453.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01628/0.2849, allocations: 7.747 MB / 460.9 MB, free: 9.332 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004356/0.2893, allocations: 214.9 kB / 461.1 MB, free: 9.121 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02021/0.3095, allocations: 7.824 MB / 468.9 MB, free: 1.277 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01113/0.3206, allocations: 3.101 MB / 472 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005733/0.3264, allocations: 1.832 MB / 473.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01587/0.3422, allocations: 11.34 MB / 485.2 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02504/0.3673, allocations: 14.67 MB / 499.8 MB, free: 2.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01081/0.3781, allocations: 6.079 MB / 0.4941 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01166/0.3898, allocations: 6.569 MB / 0.5005 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0042/0.394, allocations: 1.711 MB / 0.5021 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005925/0.3999, allocations: 2.152 MB / 0.5042 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007634/0.4075, allocations: 3.402 MB / 0.5076 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009599/0.4171, allocations: 4.907 MB / 0.5124 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02913/0.4462, allocations: 23.29 MB / 0.5351 GB, free: 1.918 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4462, allocations: 4 kB / 0.5351 GB, free: 1.914 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4462, allocations: 4 kB / 0.5351 GB, free: 1.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006924/0.4469, allocations: 0 / 0.5351 GB, free: 1.91 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.4207/0.8676, allocations: 13.56 MB / 0.5484 GB, free: 88.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.8677, allocations: 12.02 kB / 0.5484 GB, free: 88.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03424/0.9019, allocations: 6.255 MB / 0.5545 GB, free: 82.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01501/0.9169, allocations: 7.363 MB / 0.5617 GB, free: 75.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005604/0.9175, allocations: 0.7173 MB / 0.5624 GB, free: 74.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003917/0.9214, allocations: 0.9445 MB / 0.5633 GB, free: 73.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03664/0.958, allocations: 16.31 MB / 0.5792 GB, free: 56.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002941/0.9583, allocations: 19.89 kB / 0.5792 GB, free: 56.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002535/0.9609, allocations: 403.2 kB / 0.5796 GB, free: 56.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004211/0.9613, allocations: 0.5602 MB / 0.5802 GB, free: 56.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02483/0.9861, allocations: 15.08 MB / 0.5949 GB, free: 40.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06849/1.055, allocations: 45.4 MB / 0.6392 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01679/1.071, allocations: 8.533 MB / 0.6476 GB, free: 3.004 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00603/1.077, allocations: 3.316 MB / 0.6508 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004552/1.078, allocations: 115.4 kB / 0.6509 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.667e-05/1.078, allocations: 82.06 kB / 0.651 GB, free: 15.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 7.424e-06/1.078, allocations: 0 / 0.651 GB, free: 15.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.05573/1.134, allocations: 20.34 MB / 0.6709 GB, free: 11.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/1.134, allocations: 98.95 kB / 0.6709 GB, free: 10.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006672/1.14, allocations: 4.416 MB / 0.6753 GB, free: 6.586 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007432/1.141, allocations: 101.7 kB / 0.6754 GB, free: 6.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003665/1.145, allocations: 4.344 MB / 0.6796 GB, free: 2.098 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002481/1.147, allocations: 1.608 MB / 0.6812 GB, free: 488 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00226/1.15, allocations: 1.208 MB / 0.6824 GB, free: 15.26 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.15, allocations: 305.1 kB / 0.6826 GB, free: 14.96 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00514/1.155, allocations: 3.061 MB / 0.6856 GB, free: 11.89 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007787/1.163, allocations: 5.239 MB / 0.6907 GB, free: 5.672 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01411/1.177, allocations: 8.872 MB / 0.6994 GB, free: 11.82 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.314e-05/1.177, allocations: 20 kB / 0.6994 GB, free: 11.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02045/1.197, allocations: 9.822 MB / 0.709 GB, free: 1.965 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.11e-05/1.197, allocations: 39.94 kB / 0.7091 GB, free: 1.926 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/1.197, allocations: 68 kB / 0.7091 GB, free: 1.859 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004033/1.202, allocations: 1.375 MB / 0.7105 GB, free: 492 kB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005882/1.207, allocations: 1.388 MB / 0.7118 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/1.227, allocations: 12.05 MB / 0.7236 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004862/1.232, allocations: 355.5 kB / 0.7239 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001262/1.233, allocations: 296 kB / 0.7242 GB, free: 2.176 MB / 0.5294 GB 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.007188/1.241, allocations: 3.892 MB / 0.728 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/1.242, allocations: 465 kB / 0.7285 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/1.257, allocations: 8.423 MB / 0.7367 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2228/1.48, allocations: 6.192 MB / 0.7427 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-05/1.48, allocations: 15.72 kB / 0.7427 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001183/1.48, allocations: 22.55 kB / 0.7428 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02767/1.508, allocations: 14.96 MB / 0.7574 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/1.508, allocations: 7.156 kB / 0.7574 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003451/1.511, allocations: 0.813 MB / 0.7582 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003373/1.515, allocations: 1.243 MB / 0.7594 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005661/1.515, allocations: 116.3 kB / 0.7595 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/1.528, allocations: 10.97 MB / 0.7702 GB, free: 166.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.528, allocations: 7.812 kB / 0.7702 GB, free: 166.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/1.543, allocations: 11.15 MB / 0.7811 GB, free: 159.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002779/1.545, allocations: 1.04 MB / 0.7821 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007365/1.546, allocations: 91.38 kB / 0.7822 GB, free: 158.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/1.548, allocations: 230.3 kB / 0.7824 GB, free: 158.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006278/1.549, allocations: 349.6 kB / 0.7828 GB, free: 158.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002704/1.549, allocations: 145 kB / 0.7829 GB, free: 158.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003255/1.552, allocations: 2.953 MB / 0.7858 GB, free: 156 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.552, allocations: 0 / 0.7858 GB, free: 156 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005469/1.558, allocations: 1.721 MB / 0.7875 GB, free: 154.3 MB / 0.545 GB 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.001866/1.56, allocations: 0.5569 MB / 0.788 GB, free: 153.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01068/1.57, allocations: 7.658 MB / 0.7955 GB, free: 146.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/1.57, allocations: 4 kB / 0.7955 GB, free: 146.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005519/1.576, allocations: 3.679 MB / 0.7991 GB, free: 143 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004365/1.58, allocations: 0.95 MB / 0.8 GB, free: 142.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02401/1.604, allocations: 18.32 MB / 0.8179 GB, free: 123.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005603/1.61, allocations: 6.067 MB / 0.8238 GB, free: 117.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004618/1.615, allocations: 2.094 MB / 0.8259 GB, free: 115.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/1.616, allocations: 391.3 kB / 0.8262 GB, free: 115.1 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/1.616, allocations: 0 / 0.8262 GB, free: 115.1 MB / 0.545 GB Notification: Performance of Templates: time 0.1064/1.722, allocations: 79.5 MB / 0.9039 GB, free: 36.3 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 9.98948746593669]