Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002365/0.002365, allocations: 95.86 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00266/0.00266, allocations: 145.1 kB / 24.26 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 173.3 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 267.4 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.013e-05, allocations: 2.312 kB / 267.4 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01406/0.01409, allocations: 9.525 MB / 276.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007951/0.02204, allocations: 3.49 MB / 280.4 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.02383, allocations: 59.62 kB / 280.4 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.02619, allocations: 0.6636 MB / 281.1 MB, free: 8.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003333/0.02952, allocations: 0.9043 MB / 282 MB, free: 7.988 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.03099, allocations: 471 kB / 282.5 MB, free: 7.527 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004676/0.03566, allocations: 2.739 MB / 285.2 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.0376, allocations: 1.073 MB / 286.3 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003671/0.04127, allocations: 1.762 MB / 288 MB, free: 1.875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002986/0.04426, allocations: 1.407 MB / 289.4 MB, free: 476 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006651/0.04493, allocations: 312 kB / 289.7 MB, free: 164 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1463/0.1912, allocations: 0.5462 MB / 290.3 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001653/0.1929, allocations: 1.075 MB / 291.4 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002163/0.195, allocations: 1.006 MB / 292.4 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00689/0.2019, allocations: 4.345 MB / 296.7 MB, free: 18.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2019, allocations: 0 / 296.7 MB, free: 18.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2019, allocations: 0.8438 kB / 296.7 MB, free: 18.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001816/0.2021, allocations: 0 / 296.7 MB, free: 18.43 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01043/0.2125, allocations: 3.539 MB / 300.3 MB, free: 16.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.2126, allocations: 9.922 kB / 300.3 MB, free: 16.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/0.2141, allocations: 0.4945 MB / 300.8 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003506/0.2176, allocations: 1.564 MB / 302.3 MB, free: 16.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.2177, allocations: 152 kB / 302.5 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000385/0.2181, allocations: 209.8 kB / 302.7 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004571/0.2227, allocations: 2.57 MB / 305.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.397e-05/0.2227, allocations: 10.11 kB / 305.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.2229, allocations: 81.47 kB / 305.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/0.2231, allocations: 100.1 kB / 305.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003/0.2261, allocations: 1.709 MB / 307.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01377/0.2398, allocations: 9.274 MB / 316.4 MB, free: 7.414 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.2419, allocations: 0.9753 MB / 317.4 MB, free: 6.441 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.2433, allocations: 0.7436 MB / 318.1 MB, free: 5.703 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002183/0.2435, allocations: 55.61 kB / 318.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.2436, allocations: 53.86 kB / 318.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 3.677e-06/0.2436, allocations: 0 / 318.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.0103/0.2539, allocations: 4.343 MB / 322.6 MB, free: 1.238 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.2539, allocations: 68.72 kB / 322.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/0.257, allocations: 2.02 MB / 324.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002088/0.2572, allocations: 61.27 kB / 324.7 MB, free: 15.06 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.2585, allocations: 1.304 MB / 326 MB, free: 13.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006673/0.2592, allocations: 0.5025 MB / 326.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005771/0.2598, allocations: 289.2 kB / 326.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003839/0.2601, allocations: 0.5746 MB / 327.4 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.2611, allocations: 415.8 kB / 327.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.2625, allocations: 0.7884 MB / 328.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002463/0.2649, allocations: 1.328 MB / 329.9 MB, free: 9.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.2649, allocations: 0 / 329.9 MB, free: 9.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004953/0.2699, allocations: 1.876 MB / 331.8 MB, free: 7.805 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.2699, allocations: 8.188 kB / 331.8 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.2699, allocations: 12.88 kB / 331.8 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002577/0.2725, allocations: 0.6241 MB / 332.4 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.2738, allocations: 262.4 kB / 332.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/0.2846, allocations: 6.943 MB / 339.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.2862, allocations: 91.53 kB / 339.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.2864, allocations: 47.98 kB / 339.8 MB, free: 15.64 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001452/0.2879, allocations: 0.5572 MB / 340.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006402/0.2885, allocations: 247.3 kB / 340.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004057/0.2926, allocations: 1.605 MB / 342.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.002e-05/0.2926, allocations: 12 kB / 342.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.2926, allocations: 8 kB / 342.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.2926, allocations: 11.97 kB / 342.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.3029, allocations: 4.038 MB / 346.2 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.3029, allocations: 0 / 346.2 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.3039, allocations: 214.7 kB / 346.5 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002066/0.306, allocations: 492.5 kB / 346.9 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.3061, allocations: 35.97 kB / 347 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009689/0.3158, allocations: 7.913 MB / 354.9 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3158, allocations: 4 kB / 354.9 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005588/0.3214, allocations: 2.273 MB / 357.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001428/0.3228, allocations: 342.5 kB / 357.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/0.3231, allocations: 27.05 kB / 357.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009705/0.324, allocations: 83.91 kB / 357.6 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003561/0.3244, allocations: 108.8 kB / 357.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.3245, allocations: 35.98 kB / 357.7 MB, free: 13.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00227/0.3268, allocations: 1.215 MB / 359 MB, free: 12.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3268, allocations: 0 / 359 MB, free: 12.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002366/0.3292, allocations: 0.5233 MB / 359.5 MB, free: 11.55 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002839/0.332, allocations: 0.4899 MB / 360 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004246/0.3362, allocations: 1.862 MB / 361.8 MB, free: 9.375 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.3363, allocations: 4 kB / 361.8 MB, free: 9.371 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002712/0.339, allocations: 1.379 MB / 363.2 MB, free: 7.957 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.3413, allocations: 416.1 kB / 363.6 MB, free: 7.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009085/0.3504, allocations: 4.438 MB / 368.1 MB, free: 3.062 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00182/0.3522, allocations: 1.29 MB / 369.4 MB, free: 1.734 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001211/0.3534, allocations: 306.6 kB / 369.7 MB, free: 1.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/0.3538, allocations: 124.5 kB / 369.8 MB, free: 1.309 MB / 314.7 MB Notification: Performance of SimCode: time 1.893e-06/0.3538, allocations: 0 / 369.8 MB, free: 1.309 MB / 314.7 MB Notification: Performance of Templates: time 0.05905/0.4129, allocations: 29.57 MB / 399.3 MB, free: 4.102 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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: 6.7472983580082655]