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.001855/0.001855, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002328/0.002328, allocations: 207.7 kB / 23.73 MB, free: 4.387 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001678/0.001678, allocations: 43.92 kB / 378.3 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2381, allocations: 53.36 MB / 431.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02866/0.2667, allocations: 21.48 MB / 453.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01793/0.2847, allocations: 7.747 MB / 460.9 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005822/0.2905, allocations: 218.9 kB / 461.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02153/0.312, allocations: 7.811 MB / 468.9 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01215/0.3242, allocations: 3.085 MB / 472 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006451/0.3306, allocations: 1.815 MB / 473.8 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01629/0.3469, allocations: 11.34 MB / 485.1 MB, free: 1.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02842/0.3753, allocations: 14.47 MB / 499.6 MB, free: 2.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009554/0.3849, allocations: 6.071 MB / 0.4938 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0108/0.3957, allocations: 6.268 MB / 0.4999 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004345/0.4, allocations: 1.719 MB / 0.5016 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00653/0.4066, allocations: 2.14 MB / 0.5037 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005564/0.4121, allocations: 3.402 MB / 0.507 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01055/0.4227, allocations: 4.919 MB / 0.5118 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0299/0.4526, allocations: 23.28 MB / 0.5346 GB, free: 2.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4526, allocations: 0 / 0.5346 GB, free: 2.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4526, allocations: 0 / 0.5346 GB, free: 2.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005499/0.4531, allocations: 0 / 0.5346 GB, free: 2.48 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.4262/0.8794, allocations: 13.57 MB / 0.5478 GB, free: 88.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.8794, allocations: 11.88 kB / 0.5478 GB, free: 88.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03535/0.9148, allocations: 6.257 MB / 0.5539 GB, free: 82.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01561/0.9304, allocations: 7.362 MB / 0.5611 GB, free: 75.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005599/0.9309, allocations: 0.7218 MB / 0.5618 GB, free: 74.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003201/0.9341, allocations: 0.9447 MB / 0.5628 GB, free: 73.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03971/0.9738, allocations: 16.31 MB / 0.5787 GB, free: 57.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007391/0.9746, allocations: 19.91 kB / 0.5787 GB, free: 57.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00431/0.9789, allocations: 403.4 kB / 0.5791 GB, free: 56.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007183/0.9796, allocations: 0.5591 MB / 0.5796 GB, free: 56.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03976/1.019, allocations: 15.07 MB / 0.5944 GB, free: 41.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07884/1.098, allocations: 45.4 MB / 0.6387 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02159/1.12, allocations: 8.544 MB / 0.647 GB, free: 3.285 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00726/1.127, allocations: 3.313 MB / 0.6503 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006836/1.128, allocations: 115.3 kB / 0.6504 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/1.128, allocations: 78.06 kB / 0.6505 GB, free: 15.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 1.205e-05/1.128, allocations: 0 / 0.6505 GB, free: 15.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.05808/1.186, allocations: 20.35 MB / 0.6703 GB, free: 11.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.931e-05/1.186, allocations: 102.9 kB / 0.6704 GB, free: 11.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009003/1.195, allocations: 4.408 MB / 0.6747 GB, free: 6.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001005/1.196, allocations: 101.7 kB / 0.6748 GB, free: 6.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00384/1.2, allocations: 4.34 MB / 0.6791 GB, free: 2.391 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002369/1.202, allocations: 1.615 MB / 0.6806 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003457/1.206, allocations: 1.208 MB / 0.6818 GB, free: 15.54 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.206, allocations: 305.1 kB / 0.6821 GB, free: 15.24 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005889/1.212, allocations: 3.065 MB / 0.6851 GB, free: 12.17 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008383/1.22, allocations: 5.235 MB / 0.6902 GB, free: 5.957 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01457/1.235, allocations: 8.872 MB / 0.6989 GB, free: 12.11 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.797e-05/1.235, allocations: 20 kB / 0.6989 GB, free: 12.09 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.0233/1.258, allocations: 9.829 MB / 0.7085 GB, free: 2.242 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/1.258, allocations: 38.81 kB / 0.7085 GB, free: 2.207 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001502/1.258, allocations: 68 kB / 0.7086 GB, free: 2.141 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004184/1.263, allocations: 1.375 MB / 0.7099 GB, free: 0.7617 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005878/1.268, allocations: 1.388 MB / 0.7113 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02049/1.289, allocations: 12.05 MB / 0.7231 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004645/1.294, allocations: 351.6 kB / 0.7234 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/1.295, allocations: 296 kB / 0.7237 GB, free: 2.461 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.008228/1.303, allocations: 3.888 MB / 0.7275 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001624/1.305, allocations: 469 kB / 0.7279 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01855/1.323, allocations: 8.431 MB / 0.7362 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01413/1.337, allocations: 6.201 MB / 0.7422 GB, free: 15.39 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.404e-05/1.337, allocations: 12 kB / 0.7422 GB, free: 15.38 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.028e-05/1.337, allocations: 23.91 kB / 0.7423 GB, free: 15.36 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03652/1.374, allocations: 14.95 MB / 0.7569 GB, free: 248 kB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-05/1.374, allocations: 15.94 kB / 0.7569 GB, free: 232 kB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2399/1.614, allocations: 0.8061 MB / 0.7577 GB, free: 193.8 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003865/1.618, allocations: 1.25 MB / 0.7589 GB, free: 193.7 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000891/1.619, allocations: 109 kB / 0.759 GB, free: 193.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01356/1.632, allocations: 10.97 MB / 0.7697 GB, free: 189.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.632, allocations: 11.84 kB / 0.7697 GB, free: 189.1 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0166/1.649, allocations: 11.14 MB / 0.7806 GB, free: 184.3 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003407/1.652, allocations: 1.039 MB / 0.7816 GB, free: 184 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009116/1.653, allocations: 84.69 kB / 0.7817 GB, free: 184 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002291/1.655, allocations: 237.2 kB / 0.7819 GB, free: 183.9 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000629/1.656, allocations: 347.1 kB / 0.7822 GB, free: 183.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002645/1.656, allocations: 141.4 kB / 0.7824 GB, free: 183.8 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004239/1.661, allocations: 2.945 MB / 0.7852 GB, free: 182.8 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.01e-07/1.661, allocations: 0 / 0.7852 GB, free: 182.8 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007119/1.668, allocations: 1.719 MB / 0.7869 GB, free: 182.6 MB / 0.5607 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.002229/1.67, allocations: 0.5582 MB / 0.7875 GB, free: 182.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01159/1.682, allocations: 7.664 MB / 0.795 GB, free: 175.7 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.682, allocations: 4 kB / 0.795 GB, free: 175.7 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006024/1.688, allocations: 3.674 MB / 0.7986 GB, free: 172.5 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004816/1.692, allocations: 0.959 MB / 0.7995 GB, free: 171.7 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02648/1.719, allocations: 18.32 MB / 0.8174 GB, free: 155 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00621/1.725, allocations: 6.068 MB / 0.8233 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004967/1.73, allocations: 2.094 MB / 0.8253 GB, free: 147.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/1.731, allocations: 395.3 kB / 0.8257 GB, free: 146.7 MB / 0.5607 GB Notification: Performance of SimCode: time 1.373e-06/1.731, allocations: 0 / 0.8257 GB, free: 146.7 MB / 0.5607 GB Notification: Performance of Templates: time 0.1079/1.839, allocations: 76.39 MB / 0.9003 GB, free: 71.06 MB / 0.5607 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.387847764417529]