Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000932/0.000932, allocations: 84.73 kB / 21.5 MB, free: 2.98 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009185/0.0009185, allocations: 162.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8949/0.8949, allocations: 177 MB / 205.2 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_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=1000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 273.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.808e-06/1.086e-05, allocations: 6.25 kB / 273.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1067/0.1067, allocations: 23.4 MB / 296.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.1178, allocations: 8.308 MB / 305.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.1197, allocations: 217.3 kB / 305.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007078/0.1267, allocations: 8.911 MB / 314.3 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004089/0.1308, allocations: 3.18 MB / 317.5 MB, free: 4.461 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.1329, allocations: 1.846 MB / 319.3 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006848/0.1398, allocations: 11.71 MB / 331 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01317/0.1529, allocations: 14.96 MB / 346 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006904/0.1598, allocations: 9.061 MB / 355 MB, free: 408 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004697/0.1645, allocations: 6.484 MB / 361.5 MB, free: 9.902 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001206/0.1657, allocations: 1.715 MB / 363.2 MB, free: 8.188 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.1678, allocations: 2.151 MB / 365.4 MB, free: 6.035 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001771/0.1696, allocations: 3.519 MB / 368.9 MB, free: 2.508 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002818/0.1724, allocations: 4.273 MB / 373.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007727/0.1801, allocations: 10.86 MB / 384 MB, free: 3.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1801, allocations: 0 / 384 MB, free: 3.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1801, allocations: 0 / 384 MB, free: 3.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001091/0.1802, allocations: 4 kB / 384 MB, free: 3.336 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.01445/0.1947, allocations: 12.57 MB / 396.6 MB, free: 6.672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1947, allocations: 19.92 kB / 396.6 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01598/0.2107, allocations: 6.369 MB / 403 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005304/0.216, allocations: 3.839 MB / 406.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003157/0.2163, allocations: 0.7224 MB / 407.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009971/0.2173, allocations: 0.9491 MB / 408.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008431/0.2257, allocations: 7.963 MB / 416.5 MB, free: 2.605 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001371/0.2259, allocations: 11.94 kB / 416.5 MB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006937/0.2266, allocations: 400 kB / 416.9 MB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003399/0.2269, allocations: 0.5591 MB / 417.4 MB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005799/0.2327, allocations: 4.09 MB / 421.5 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2084/0.4411, allocations: 31.02 MB / 452.5 MB, free: 73.91 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004752/0.4458, allocations: 4.753 MB / 457.3 MB, free: 73.49 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.447, allocations: 1.17 MB / 458.5 MB, free: 73.44 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/0.4472, allocations: 145.6 kB / 458.6 MB, free: 73.43 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.4472, allocations: 80.28 kB / 458.7 MB, free: 73.39 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 5.671e-06/0.4472, allocations: 1.641 kB / 458.7 MB, free: 73.39 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.016/0.4632, allocations: 9.732 MB / 468.4 MB, free: 72.28 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.4632, allocations: 107.3 kB / 468.5 MB, free: 72.21 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.4651, allocations: 3.298 MB / 471.8 MB, free: 71.82 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001709/0.4653, allocations: 99.42 kB / 471.9 MB, free: 71.79 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008201/0.4661, allocations: 3.872 MB / 475.8 MB, free: 69.62 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004827/0.4666, allocations: 1.591 MB / 477.4 MB, free: 68.43 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009042/0.4675, allocations: 1.108 MB / 478.5 MB, free: 67.82 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.094e-05/0.4675, allocations: 305.1 kB / 478.8 MB, free: 67.52 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008935/0.4684, allocations: 0.8462 MB / 479.6 MB, free: 66.77 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.4696, allocations: 2.822 MB / 482.5 MB, free: 63.2 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/0.4721, allocations: 4.306 MB / 486.8 MB, free: 58.46 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-05/0.4721, allocations: 20 kB / 486.8 MB, free: 58.44 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.004234/0.4763, allocations: 4.188 MB / 491 MB, free: 54.95 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.4763, allocations: 32.34 kB / 491 MB, free: 54.92 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.399e-05/0.4764, allocations: 76 kB / 491.1 MB, free: 54.85 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00179/0.4782, allocations: 1.171 MB / 492.2 MB, free: 53.73 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/0.4802, allocations: 1.256 MB / 493.5 MB, free: 52.61 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004809/0.4851, allocations: 6.406 MB / 499.9 MB, free: 47.35 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.4865, allocations: 224.5 kB / 0.4884 GB, free: 47.23 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/0.4867, allocations: 238 kB / 0.4886 GB, free: 47.04 MB / 378.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.001168/0.4879, allocations: 0.4991 MB / 0.4891 GB, free: 46.8 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005003/0.4884, allocations: 413.4 kB / 0.4895 GB, free: 46.45 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/0.4922, allocations: 4.176 MB / 0.4936 GB, free: 43.23 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002255/0.4944, allocations: 1.978 MB / 0.4955 GB, free: 41.3 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.4944, allocations: 19.38 kB / 0.4955 GB, free: 41.29 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/0.4944, allocations: 20.8 kB / 0.4956 GB, free: 41.27 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00852/0.503, allocations: 8.733 MB / 0.5041 GB, free: 34.85 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.503, allocations: 8 kB / 0.5041 GB, free: 34.84 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.5044, allocations: 0.6812 MB / 0.5048 GB, free: 34.23 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/0.506, allocations: 1.054 MB / 0.5058 GB, free: 33.18 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/0.5062, allocations: 103.9 kB / 0.5059 GB, free: 33.08 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004372/0.5105, allocations: 6.014 MB / 0.5118 GB, free: 27.05 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.5105, allocations: 11.09 kB / 0.5118 GB, free: 27.04 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003934/0.5145, allocations: 3.924 MB / 0.5156 GB, free: 23.12 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000788/0.5153, allocations: 0.5793 MB / 0.5162 GB, free: 22.54 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003271/0.5156, allocations: 88 kB / 0.5163 GB, free: 22.45 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008447/0.5164, allocations: 108 kB / 0.5164 GB, free: 22.35 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/0.5167, allocations: 341.5 kB / 0.5167 GB, free: 22.02 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/0.5169, allocations: 103.9 kB / 0.5168 GB, free: 21.92 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001022/0.5179, allocations: 1.599 MB / 0.5183 GB, free: 20.5 MB / 378.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5179, allocations: 0 / 0.5183 GB, free: 20.5 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.002764/0.5207, allocations: 1.715 MB / 0.52 GB, free: 18.79 MB / 378.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.001109/0.5218, allocations: 0.5999 MB / 0.5206 GB, free: 18.43 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003207/0.525, allocations: 3.631 MB / 0.5241 GB, free: 15.08 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 8.461e-05/0.5251, allocations: 68.12 kB / 0.5242 GB, free: 15.01 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001777/0.5269, allocations: 2.02 MB / 0.5262 GB, free: 13.11 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.5288, allocations: 0.9633 MB / 0.5271 GB, free: 12.17 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/0.5409, allocations: 14.61 MB / 0.5414 GB, free: 13.48 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/0.5426, allocations: 1.973 MB / 0.5433 GB, free: 11.49 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.001583/0.5442, allocations: 0.7236 MB / 0.544 GB, free: 10.76 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/0.5458, allocations: 0.9325 MB / 0.5449 GB, free: 9.824 MB / 394.8 MB Notification: Performance of SimCode: time 7.32e-07/0.5458, allocations: 0 / 0.5449 GB, free: 9.824 MB / 394.8 MB Notification: Performance of Templates: time 0.1785/0.7243, allocations: 71.67 MB / 0.6149 GB, free: 118.3 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9478390798904]