Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.0009767/0.0009767, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009488/0.0009488, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 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 0.9325/0.9325, allocations: 173.3 MB / 201.5 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 179] 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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.403e-05/3.633e-05, allocations: 6.25 kB / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.008083/0.00812, allocations: 8.843 MB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004587/0.01271, allocations: 2.812 MB / 279.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009126/0.01362, allocations: 55.69 kB / 279.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.01491, allocations: 0.5938 MB / 280.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.0165, allocations: 0.7955 MB / 281.2 MB, free: 9.535 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005222/0.01703, allocations: 327.5 kB / 281.5 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002/0.01903, allocations: 2.439 MB / 284 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.02007, allocations: 0.989 MB / 284.9 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.02177, allocations: 1.598 MB / 286.5 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.02329, allocations: 1.27 MB / 287.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004154/0.02371, allocations: 280 kB / 288.1 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004793/0.02419, allocations: 367.8 kB / 288.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005441/0.02473, allocations: 0.8492 MB / 289.3 MB, free: 1.367 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00087/0.0256, allocations: 0.877 MB / 290.2 MB, free: 500 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1252/0.1508, allocations: 2.022 MB / 292.2 MB, free: 19.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1508, allocations: 0.6094 kB / 292.2 MB, free: 19.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1508, allocations: 0.9375 kB / 292.2 MB, free: 19.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.275e-05/0.1509, allocations: 0 / 292.2 MB, free: 19.06 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004076/0.1549, allocations: 2.722 MB / 294.9 MB, free: 17.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.155, allocations: 10.41 kB / 294.9 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000796/0.1558, allocations: 420 kB / 295.3 MB, free: 17.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.1575, allocations: 1.266 MB / 296.6 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.033e-05/0.1576, allocations: 135.2 kB / 296.7 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/0.1578, allocations: 186 kB / 296.9 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.1603, allocations: 1.488 MB / 298.4 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/0.1603, allocations: 2.234 kB / 298.4 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.1604, allocations: 81.56 kB / 298.5 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.708e-05/0.1605, allocations: 87.39 kB / 298.6 MB, free: 17.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.162, allocations: 0.6603 MB / 299.2 MB, free: 17.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006747/0.1688, allocations: 6.124 MB / 305.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008306/0.1696, allocations: 0.5463 MB / 305.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006927/0.1703, allocations: 0.5004 MB / 306.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.1704, allocations: 47.3 kB / 306.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.1705, allocations: 52.41 kB / 306.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.635e-06/0.1705, allocations: 0 / 306.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.004199/0.1747, allocations: 2.688 MB / 309.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.1747, allocations: 68.97 kB / 309.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.1758, allocations: 1.096 MB / 310.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-05/0.1758, allocations: 41.52 kB / 310.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/0.1762, allocations: 1.003 MB / 311.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.1764, allocations: 369.2 kB / 311.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.1766, allocations: 219.1 kB / 312 MB, free: 10.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.376e-05/0.1767, allocations: 0.5286 MB / 312.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.177, allocations: 197 kB / 312.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.1775, allocations: 0.6058 MB / 313.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007765/0.1782, allocations: 0.9034 MB / 314.2 MB, free: 9.242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.1782, allocations: 3.219 kB / 314.2 MB, free: 9.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001861/0.1801, allocations: 1.302 MB / 315.5 MB, free: 8.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1801, allocations: 8.625 kB / 315.5 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.1801, allocations: 8 kB / 315.5 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.1813, allocations: 0.5319 MB / 316.1 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.1817, allocations: 234.8 kB / 316.3 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003897/0.1856, allocations: 5.819 MB / 322.1 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006797/0.1863, allocations: 79.88 kB / 322.2 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.1864, allocations: 52.11 kB / 322.2 MB, free: 1.609 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * 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,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005195/0.1869, allocations: 223.4 kB / 322.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.1871, allocations: 174.7 kB / 322.6 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.1883, allocations: 0.9642 MB / 323.6 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1883, allocations: 12 kB / 323.6 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1883, allocations: 0 / 323.6 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.1883, allocations: 7.984 kB / 323.6 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/0.1919, allocations: 2.615 MB / 326.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1919, allocations: 0 / 326.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.1923, allocations: 182.3 kB / 326.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006979/0.193, allocations: 297.6 kB / 326.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.376e-05/0.1931, allocations: 27.98 kB / 326.7 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003552/0.1967, allocations: 6.244 MB / 333 MB, free: 6.504 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1967, allocations: 3.281 kB / 333 MB, free: 6.504 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.1988, allocations: 1.387 MB / 334.3 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005432/0.1993, allocations: 255 kB / 334.6 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.1994, allocations: 22.84 kB / 334.6 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.1999, allocations: 67.92 kB / 334.7 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.2001, allocations: 88.83 kB / 334.8 MB, free: 4.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.2001, allocations: 32.05 kB / 334.8 MB, free: 4.613 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008733/0.201, allocations: 0.654 MB / 335.5 MB, free: 3.953 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.201, allocations: 3.281 kB / 335.5 MB, free: 3.953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001367/0.2023, allocations: 431.9 kB / 335.9 MB, free: 3.531 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (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) * 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 (84): * Single equations (assignments): 80 * Array equations: 0 * 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,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003197/0.2027, allocations: 178.4 kB / 336.1 MB, free: 3.355 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001827/0.2045, allocations: 1.311 MB / 337.4 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2045, allocations: 0 / 337.4 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.2055, allocations: 1.046 MB / 338.4 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.2065, allocations: 332.1 kB / 338.7 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004981/0.2115, allocations: 3.396 MB / 342.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.212, allocations: 0.5114 MB / 342.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005922/0.2126, allocations: 247 kB / 342.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.2128, allocations: 92.48 kB / 343 MB, free: 12.31 MB / 298.7 MB Notification: Performance of SimCode: time 1.303e-06/0.2128, allocations: 3.719 kB / 343 MB, free: 12.31 MB / 298.7 MB Notification: Performance of Templates: time 0.02792/0.2407, allocations: 23.13 MB / 366.1 MB, free: 5.527 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.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: 3.374305999139324]