Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001377/0.001377, allocations: 85.17 kB / 21.5 MB, free: 2.988 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.0009736/0.0009736, allocations: 142.2 kB / 24.89 MB, free: 9.211 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.9283/0.9283, allocations: 173.3 MB / 201.5 MB, free: 9.223 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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,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_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 268.5 MB, free: 6.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.602e-05, allocations: 2.312 kB / 268.5 MB, free: 6.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.007217/0.007233, allocations: 9.126 MB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00518/0.01241, allocations: 3.017 MB / 280.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007757/0.01319, allocations: 63.56 kB / 280.7 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.01426, allocations: 0.6286 MB / 281.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.01564, allocations: 0.8461 MB / 282.2 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004877/0.01613, allocations: 363.3 kB / 282.5 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001776/0.0179, allocations: 2.75 MB / 285.3 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.01913, allocations: 1.164 MB / 286.4 MB, free: 4.094 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.02081, allocations: 1.918 MB / 288.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.02194, allocations: 1.368 MB / 289.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000258/0.0222, allocations: 296 kB / 290 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.02262, allocations: 387.8 kB / 290.4 MB, free: 136 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1062/0.1288, allocations: 0.895 MB / 291.3 MB, free: 19.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.1307, allocations: 0.9606 MB / 292.2 MB, free: 19.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002709/0.1334, allocations: 2.255 MB / 294.5 MB, free: 19.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1334, allocations: 0 / 294.5 MB, free: 19.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1334, allocations: 0 / 294.5 MB, free: 19.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.246e-05/0.1334, allocations: 0.9062 kB / 294.5 MB, free: 19.23 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.003565/0.137, allocations: 2.626 MB / 297.1 MB, free: 18.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.137, allocations: 13.61 kB / 297.1 MB, free: 18.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008181/0.1379, allocations: 369.9 kB / 297.5 MB, free: 18.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.1395, allocations: 1.013 MB / 298.5 MB, free: 17.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.1396, allocations: 150.6 kB / 298.7 MB, free: 17.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002943/0.1399, allocations: 207.9 kB / 298.9 MB, free: 17.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.1421, allocations: 1.576 MB / 300.4 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.257e-05/0.1422, allocations: 13.12 kB / 300.4 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.1424, allocations: 87.19 kB / 300.5 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.1425, allocations: 94.06 kB / 300.6 MB, free: 17.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.1437, allocations: 0.5972 MB / 301.2 MB, free: 17.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005187/0.1489, allocations: 5.394 MB / 306.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006005/0.1495, allocations: 0.6551 MB / 307.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/0.1501, allocations: 481.1 kB / 307.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.1502, allocations: 44.91 kB / 307.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.1502, allocations: 42.97 kB / 307.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.725e-06/0.1502, allocations: 0 / 307.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.003724/0.1539, allocations: 2.492 MB / 310.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.815e-05/0.154, allocations: 64.72 kB / 310.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006374/0.1546, allocations: 0.9785 MB / 311.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/0.1546, allocations: 46.83 kB / 311.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.1549, allocations: 0.8363 MB / 312.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.1551, allocations: 430.5 kB / 312.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.1553, allocations: 240.6 kB / 312.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.897e-05/0.1553, allocations: 362.6 kB / 313.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.1555, allocations: 162.2 kB / 313.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.1558, allocations: 481 kB / 313.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005561/0.1564, allocations: 0.7991 MB / 314.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1564, allocations: 8 kB / 314.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001014/0.1574, allocations: 0.9106 MB / 315.6 MB, free: 9.914 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.1574, allocations: 8 kB / 315.6 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.1574, allocations: 12 kB / 315.6 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000434/0.1579, allocations: 218.3 kB / 315.8 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000548/0.1584, allocations: 292.1 kB / 316.1 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.1599, allocations: 3.155 MB / 319.3 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.1603, allocations: 51.92 kB / 319.3 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.1603, allocations: 47.47 kB / 319.4 MB, free: 6.035 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003249/0.1606, allocations: 196.4 kB / 319.6 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.1608, allocations: 135.8 kB / 319.7 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008778/0.1617, allocations: 0.8176 MB / 320.5 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.1617, allocations: 12 kB / 320.5 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1617, allocations: 4 kB / 320.5 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.1617, allocations: 3.984 kB / 320.5 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.1638, allocations: 2.07 MB / 322.6 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1638, allocations: 4.281 kB / 322.6 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.1643, allocations: 198.9 kB / 322.8 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005248/0.1648, allocations: 306.8 kB / 323.1 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.184e-05/0.1648, allocations: 27.98 kB / 323.1 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.1668, allocations: 4.363 MB / 327.5 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1668, allocations: 11.69 kB / 327.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.1682, allocations: 1.207 MB / 328.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.1685, allocations: 197.8 kB / 328.9 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.1686, allocations: 37.86 kB / 328.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.1689, allocations: 39.98 kB / 329 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.1691, allocations: 101.8 kB / 329.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.1691, allocations: 27.98 kB / 329.1 MB, free: 12.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000388/0.1695, allocations: 489.7 kB / 329.6 MB, free: 11.72 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1695, allocations: 0 / 329.6 MB, free: 11.72 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008626/0.1704, allocations: 452 kB / 330 MB, free: 11.28 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002367/0.1706, allocations: 174.9 kB / 330.2 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.1716, allocations: 0.9811 MB / 331.2 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.659e-05/0.1716, allocations: 12.5 kB / 331.2 MB, free: 10.15 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006991/0.1723, allocations: 0.7856 MB / 332 MB, free: 9.367 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008852/0.1732, allocations: 395.4 kB / 332.4 MB, free: 8.996 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.1775, allocations: 3.567 MB / 335.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.1779, allocations: 0.4969 MB / 336.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004328/0.1784, allocations: 184.7 kB / 336.6 MB, free: 4.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006108/0.179, allocations: 391.2 kB / 337 MB, free: 4.297 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.179, allocations: 0 / 337 MB, free: 4.297 MB / 282.7 MB Notification: Performance of Templates: time 0.03022/0.2092, allocations: 25.24 MB / 362.2 MB, free: 11.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.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.2391531630419195]