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.00157/0.00157, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001719/0.001719, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.43/1.43, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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 1.482e-06/1.482e-06, allocations: 0 / 325.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.099e-05, allocations: 5.375 kB / 325.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02587/0.02589, allocations: 21.5 MB / 346.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01701/0.0429, allocations: 7.758 MB / 354.4 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004435/0.04733, allocations: 222.9 kB / 354.6 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01994/0.06727, allocations: 8.265 MB / 362.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.07741, allocations: 3.134 MB / 366 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005028/0.08244, allocations: 1.818 MB / 367.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01561/0.09805, allocations: 11.7 MB / 379.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02567/0.1237, allocations: 14.51 MB / 394 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01425/0.138, allocations: 8.893 MB / 402.9 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009932/0.1479, allocations: 5.629 MB / 408.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003281/0.1512, allocations: 1.711 MB / 410.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005052/0.1562, allocations: 2.159 MB / 412.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003969/0.1602, allocations: 3.468 MB / 415.9 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008273/0.1685, allocations: 4.23 MB / 420.1 MB, free: 5.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02998/0.1985, allocations: 23.5 MB / 443.6 MB, free: 14.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1985, allocations: 0 / 443.6 MB, free: 14.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1985, allocations: 0 / 443.6 MB, free: 14.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004446/0.1989, allocations: 0 / 443.6 MB, free: 14.18 MB / 414.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.04116/0.2401, allocations: 13.46 MB / 457.1 MB, free: 0.625 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.2401, allocations: 8.031 kB / 457.1 MB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03889/0.279, allocations: 6.264 MB / 463.4 MB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01585/0.2949, allocations: 7.366 MB / 470.7 MB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007241/0.2956, allocations: 0.7185 MB / 471.4 MB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003044/0.2986, allocations: 0.9413 MB / 472.4 MB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3187/0.6173, allocations: 16.32 MB / 488.7 MB, free: 105.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002165/0.6175, allocations: 16.03 kB / 488.7 MB, free: 105.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001141/0.6187, allocations: 397.9 kB / 489.1 MB, free: 105.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004039/0.6191, allocations: 0.5627 MB / 489.7 MB, free: 105.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02305/0.6421, allocations: 15.07 MB / 0.4929 GB, free: 96.36 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0617/0.7038, allocations: 45.42 MB / 0.5373 GB, free: 50.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01267/0.7165, allocations: 8.531 MB / 0.5456 GB, free: 43.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004007/0.7205, allocations: 3.312 MB / 0.5488 GB, free: 39.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/0.7208, allocations: 119.3 kB / 0.5489 GB, free: 39.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.7209, allocations: 82 kB / 0.549 GB, free: 39.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=447): time 7.924e-06/0.7209, allocations: 0 / 0.549 GB, free: 39.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=452): time 0.04359/0.7645, allocations: 20.35 MB / 0.5689 GB, free: 19.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.7645, allocations: 94.95 kB / 0.569 GB, free: 19.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004955/0.7695, allocations: 4.415 MB / 0.5733 GB, free: 15.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005744/0.7701, allocations: 97.7 kB / 0.5734 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001631/0.7717, allocations: 4.329 MB / 0.5776 GB, free: 11.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001298/0.773, allocations: 1.59 MB / 0.5792 GB, free: 9.535 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001554/0.7745, allocations: 1.196 MB / 0.5803 GB, free: 8.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.988e-05/0.7746, allocations: 305.1 kB / 0.5806 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003719/0.7783, allocations: 3.061 MB / 0.5836 GB, free: 4.961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004948/0.7832, allocations: 5.243 MB / 0.5887 GB, free: 14.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01345/0.7967, allocations: 8.868 MB / 0.5974 GB, free: 4.895 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-05/0.7967, allocations: 20 kB / 0.5974 GB, free: 4.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01852/0.8153, allocations: 9.829 MB / 0.607 GB, free: 11.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.5e-05/0.8153, allocations: 38.91 kB / 0.6071 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/0.8154, allocations: 71.98 kB / 0.6071 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00399/0.8194, allocations: 1.371 MB / 0.6085 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005469/0.8249, allocations: 1.392 MB / 0.6098 GB, free: 8.152 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02022/0.8451, allocations: 12.05 MB / 0.6216 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004597/0.8497, allocations: 351.6 kB / 0.6219 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/0.8508, allocations: 300 kB / 0.6222 GB, free: 11.27 MB / 478.1 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.007582/0.8584, allocations: 3.888 MB / 0.626 GB, free: 7.371 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001395/0.8598, allocations: 465 kB / 0.6265 GB, free: 6.914 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0172/0.877, allocations: 8.429 MB / 0.6347 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01219/0.8892, allocations: 6.193 MB / 0.6407 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.883e-05/0.8892, allocations: 12 kB / 0.6408 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.325e-05/0.8893, allocations: 27.91 kB / 0.6408 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1876/1.077, allocations: 14.96 MB / 0.6554 GB, free: 154.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-05/1.077, allocations: 7.688 kB / 0.6554 GB, free: 154.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003437/1.08, allocations: 0.8171 MB / 0.6562 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003503/1.084, allocations: 1.253 MB / 0.6574 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003717/1.084, allocations: 105.2 kB / 0.6575 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/1.097, allocations: 10.97 MB / 0.6682 GB, free: 147.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/1.097, allocations: 19.53 kB / 0.6682 GB, free: 147.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0146/1.112, allocations: 11.13 MB / 0.6791 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002101/1.114, allocations: 1.035 MB / 0.6801 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000588/1.115, allocations: 90.22 kB / 0.6802 GB, free: 142.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002204/1.117, allocations: 231.8 kB / 0.6804 GB, free: 142.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006572/1.118, allocations: 348.8 kB / 0.6808 GB, free: 142.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002712/1.118, allocations: 145.9 kB / 0.6809 GB, free: 142.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003352/1.121, allocations: 2.953 MB / 0.6838 GB, free: 141.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.121, allocations: 0 / 0.6838 GB, free: 141.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004827/1.126, allocations: 1.718 MB / 0.6855 GB, free: 141 MB / 494.1 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.001817/1.128, allocations: 0.5564 MB / 0.686 GB, free: 140.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01044/1.138, allocations: 7.659 MB / 0.6935 GB, free: 136.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.138, allocations: 7.969 kB / 0.6935 GB, free: 136.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005424/1.144, allocations: 3.684 MB / 0.6971 GB, free: 133.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004442/1.148, allocations: 0.9459 MB / 0.698 GB, free: 132.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02417/1.172, allocations: 18.2 MB / 0.7158 GB, free: 115.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00553/1.178, allocations: 6.07 MB / 0.7217 GB, free: 110 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004704/1.183, allocations: 2.086 MB / 0.7238 GB, free: 107.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/1.184, allocations: 392.4 kB / 0.7241 GB, free: 107.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.663e-06/1.184, allocations: 0 / 0.7241 GB, free: 107.5 MB / 494.1 MB Notification: Performance of Templates: time 0.1009/1.285, allocations: 66.29 MB / 0.7889 GB, free: 41.95 MB / 494.1 MB " [Timeout remaining time 659] 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: 9.600119538605213]