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.001106/0.001106, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.002542, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001002/0.001002, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001242/0.002244, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9808/0.9808, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08994/1.071, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.653e-06/1.653e-06, allocations: 0 / 244.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.467e-05, allocations: 4.984 kB / 244.6 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01854/0.01855, allocations: 23.62 MB / 268.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1336/0.1522, allocations: 8.349 MB / 276.5 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005112/0.1573, allocations: 216.8 kB / 276.7 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0116/0.1689, allocations: 8.872 MB / 285.6 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008773/0.1776, allocations: 3.14 MB / 288.8 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004528/0.1822, allocations: 1.82 MB / 290.6 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01358/0.1958, allocations: 11.78 MB / 302.4 MB, free: 11.17 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02292/0.2187, allocations: 14.57 MB / 316.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01482/0.2335, allocations: 9.368 MB / 326.3 MB, free: 5.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008513/0.242, allocations: 6.48 MB / 332.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003668/0.2457, allocations: 1.711 MB / 334.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005986/0.2517, allocations: 2.169 MB / 336.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004204/0.2559, allocations: 2.838 MB / 339.5 MB, free: 8.629 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009976/0.2658, allocations: 3.584 MB / 343.1 MB, free: 5.039 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01467/0.2805, allocations: 10.29 MB / 353.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.484e-05/0.2805, allocations: 0 / 353.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2805, allocations: 4 kB / 353.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004468/0.281, allocations: 0 / 353.4 MB, free: 11.15 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.02245/0.3034, allocations: 14.62 MB / 368 MB, free: 13.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3035, allocations: 8.031 kB / 368 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0179/0.3214, allocations: 6.376 MB / 374.4 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008157/0.3295, allocations: 3.847 MB / 378.2 MB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004825/0.33, allocations: 0.7223 MB / 378.9 MB, free: 2.562 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002375/0.3324, allocations: 0.9527 MB / 379.9 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01591/0.3483, allocations: 7.958 MB / 387.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001957/0.3485, allocations: 13.11 kB / 387.9 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000961/0.3494, allocations: 396 kB / 388.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003868/0.3498, allocations: 0.5669 MB / 388.8 MB, free: 9.055 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008703/0.3585, allocations: 4.08 MB / 392.9 MB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04614/0.4047, allocations: 31.19 MB / 424.1 MB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005507/0.4102, allocations: 4.767 MB / 428.9 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1328/0.543, allocations: 1.153 MB / 430 MB, free: 98.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005044/0.5435, allocations: 144.4 kB / 430.2 MB, free: 98.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.5435, allocations: 81.67 kB / 430.2 MB, free: 98.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=447): time 6.512e-06/0.5435, allocations: 0 / 430.2 MB, free: 98.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=452): time 0.02132/0.5649, allocations: 9.745 MB / 440 MB, free: 98.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.5649, allocations: 100.5 kB / 440.1 MB, free: 98.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/0.5679, allocations: 3.302 MB / 443.4 MB, free: 97.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002779/0.5682, allocations: 99.42 kB / 443.5 MB, free: 97.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.5694, allocations: 3.876 MB / 447.4 MB, free: 95.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009267/0.5703, allocations: 1.594 MB / 448.9 MB, free: 94.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/0.5714, allocations: 1.109 MB / 450.1 MB, free: 94.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 2.963e-05/0.5714, allocations: 301.1 kB / 450.4 MB, free: 94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.5725, allocations: 0.8467 MB / 451.2 MB, free: 93.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.5739, allocations: 2.817 MB / 454 MB, free: 91.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003223/0.5772, allocations: 4.31 MB / 458.3 MB, free: 88.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.833e-05/0.5772, allocations: 19.12 kB / 458.3 MB, free: 88.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.005167/0.5824, allocations: 4.193 MB / 462.5 MB, free: 88.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.5824, allocations: 32.78 kB / 462.6 MB, free: 88.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.45e-05/0.5825, allocations: 70.2 kB / 462.6 MB, free: 88.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/0.5846, allocations: 1.168 MB / 463.8 MB, free: 88.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/0.5872, allocations: 1.448 MB / 465.3 MB, free: 88.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005683/0.5929, allocations: 6.467 MB / 471.7 MB, free: 85.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.5952, allocations: 218 kB / 471.9 MB, free: 85.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003592/0.5956, allocations: 235.6 kB / 472.2 MB, free: 85.7 MB / 394.7 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.001876/0.5974, allocations: 0.5114 MB / 472.7 MB, free: 85.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006971/0.5981, allocations: 406.1 kB / 473.1 MB, free: 85.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/0.6025, allocations: 4.19 MB / 477.3 MB, free: 84.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002481/0.605, allocations: 1.985 MB / 479.2 MB, free: 83.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.605, allocations: 12 kB / 479.3 MB, free: 83.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.605, allocations: 19.92 kB / 479.3 MB, free: 83.31 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/0.6178, allocations: 8.726 MB / 488 MB, free: 76.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/0.6179, allocations: 8 kB / 488 MB, free: 76.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/0.6196, allocations: 0.8123 MB / 488.8 MB, free: 75.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/0.621, allocations: 0.5806 MB / 489.4 MB, free: 75.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001848/0.6228, allocations: 1.049 MB / 490.5 MB, free: 74.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002257/0.6231, allocations: 101 kB / 490.6 MB, free: 74.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005177/0.6282, allocations: 6.079 MB / 496.6 MB, free: 67.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.6283, allocations: 11.28 kB / 496.6 MB, free: 67.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005039/0.6333, allocations: 3.916 MB / 0.4888 GB, free: 64.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007055/0.634, allocations: 88 kB / 0.4889 GB, free: 63.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.6352, allocations: 112 kB / 0.489 GB, free: 63.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000472/0.6357, allocations: 342.1 kB / 0.4893 GB, free: 63.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001861/0.6359, allocations: 104 kB / 0.4894 GB, free: 63.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001515/0.6374, allocations: 1.592 MB / 0.491 GB, free: 62.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6374, allocations: 3.281 kB / 0.491 GB, free: 62.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0045/0.6419, allocations: 1.715 MB / 0.4927 GB, free: 60.31 MB / 394.7 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.001444/0.6433, allocations: 0.6663 MB / 0.4933 GB, free: 59.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00463/0.648, allocations: 3.632 MB / 0.4969 GB, free: 56.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001905/0.6482, allocations: 120.9 kB / 0.497 GB, free: 56.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002299/0.6505, allocations: 2.019 MB / 0.499 GB, free: 54.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/0.6537, allocations: 1.321 MB / 0.5003 GB, free: 53.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05582/0.7095, allocations: 15.12 MB / 0.515 GB, free: 38.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00236/0.7119, allocations: 1.997 MB / 0.517 GB, free: 36.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002297/0.7142, allocations: 0.7197 MB / 0.5177 GB, free: 35.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001732/0.7159, allocations: 0.9325 MB / 0.5186 GB, free: 34.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.964e-06/0.7159, allocations: 3.188 kB / 0.5186 GB, free: 34.41 MB / 394.7 MB Notification: Performance of Templates: time 0.2064/0.9223, allocations: 74.07 MB / 0.5909 GB, free: 105.6 MB / 410.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.745916208252311]