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.0009155/0.0009155, allocations: 85.05 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.001061/0.001061, allocations: 141.8 kB / 24.89 MB, free: 8.777 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.9053/0.9053, allocations: 173.4 MB / 201.5 MB, free: 8.773 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 1.082e-06/1.082e-06, allocations: 0 / 268.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039e-05/1.147e-05, allocations: 2.312 kB / 268.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.006659/0.006671, allocations: 8.706 MB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003423/0.01009, allocations: 2.901 MB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004161/0.01051, allocations: 51.69 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009341/0.01144, allocations: 0.6094 MB / 280.8 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.01245, allocations: 0.7955 MB / 281.6 MB, free: 8.852 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.0128, allocations: 331.3 kB / 281.9 MB, free: 8.527 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001507/0.01431, allocations: 2.446 MB / 284.4 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008463/0.01516, allocations: 1.016 MB / 285.4 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.01653, allocations: 1.731 MB / 287.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.01755, allocations: 1.204 MB / 288.3 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002435/0.01779, allocations: 268 kB / 288.6 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003791/0.01817, allocations: 367.8 kB / 288.9 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004436/0.01861, allocations: 0.8141 MB / 289.7 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.09592/0.1145, allocations: 0.8503 MB / 290.6 MB, free: 19.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.1172, allocations: 1.995 MB / 292.6 MB, free: 18.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1172, allocations: 3.969 kB / 292.6 MB, free: 18.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1172, allocations: 0 / 292.6 MB, free: 18.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.223e-05/0.1173, allocations: 0 / 292.6 MB, free: 18.84 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.003557/0.1208, allocations: 2.365 MB / 295 MB, free: 17.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.1209, allocations: 13.08 kB / 295 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000788/0.1216, allocations: 330.9 kB / 295.3 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.1232, allocations: 0.9225 MB / 296.2 MB, free: 17.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.1233, allocations: 139.8 kB / 296.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002563/0.1235, allocations: 192.7 kB / 296.5 MB, free: 17.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.1256, allocations: 1.388 MB / 297.9 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/0.1257, allocations: 6.406 kB / 297.9 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.1258, allocations: 72.38 kB / 298 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.52e-05/0.1259, allocations: 86.17 kB / 298.1 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.1271, allocations: 0.5279 MB / 298.6 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006165/0.1332, allocations: 4.77 MB / 303.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000777/0.134, allocations: 0.5264 MB / 303.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00072/0.1347, allocations: 442.6 kB / 304.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.1349, allocations: 40.3 kB / 304.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.1349, allocations: 47.45 kB / 304.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.445e-06/0.1349, allocations: 2.844 kB / 304.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.004374/0.1393, allocations: 2.178 MB / 306.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.1393, allocations: 65.62 kB / 306.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007208/0.14, allocations: 0.879 MB / 307.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.893e-05/0.1401, allocations: 49.27 kB / 307.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/0.1404, allocations: 0.7633 MB / 308.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.1406, allocations: 366.3 kB / 308.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.1408, allocations: 196.7 kB / 308.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.1409, allocations: 357.5 kB / 309.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.1411, allocations: 141.9 kB / 309.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.1415, allocations: 429.3 kB / 309.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007113/0.1422, allocations: 0.6984 MB / 310.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.1422, allocations: 3.688 kB / 310.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001554/0.1437, allocations: 0.9344 MB / 311.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1437, allocations: 12.69 kB / 311.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.1438, allocations: 9.375 kB / 311.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.145, allocations: 483.5 kB / 312 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006582/0.1457, allocations: 248.6 kB / 312.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00377/0.1494, allocations: 4.171 MB / 316.4 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.1499, allocations: 39.92 kB / 316.4 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.228e-05/0.15, allocations: 40 kB / 316.5 MB, free: 7.863 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%), (5,30,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003588/0.1504, allocations: 179.6 kB / 316.6 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.1506, allocations: 115.9 kB / 316.7 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.1517, allocations: 0.737 MB / 317.5 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1517, allocations: 8 kB / 317.5 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1517, allocations: 8 kB / 317.5 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.1517, allocations: 7.969 kB / 317.5 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/0.1543, allocations: 1.841 MB / 319.3 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1543, allocations: 0 / 319.3 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/0.1549, allocations: 178.6 kB / 319.5 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007272/0.1556, allocations: 297.8 kB / 319.8 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.689e-05/0.1557, allocations: 27.98 kB / 319.8 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.158, allocations: 4.369 MB / 324.2 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.158, allocations: 4 kB / 324.2 MB, free: 0 / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.1597, allocations: 1.075 MB / 325.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/0.16, allocations: 181.6 kB / 325.5 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.1602, allocations: 27.98 kB / 325.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/0.1606, allocations: 39.98 kB / 325.5 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.1608, allocations: 80.12 kB / 325.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.1608, allocations: 23.98 kB / 325.6 MB, free: 14.56 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004949/0.1613, allocations: 439.3 kB / 326.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1613, allocations: 0 / 326.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001128/0.1625, allocations: 424 kB / 326.5 MB, free: 13.76 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%), (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.0002749/0.1627, allocations: 165.4 kB / 326.6 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.1642, allocations: 0.9978 MB / 327.6 MB, free: 12.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.36e-05/0.1642, allocations: 14.38 kB / 327.6 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000898/0.1651, allocations: 0.7408 MB / 328.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.1661, allocations: 332.8 kB / 328.7 MB, free: 11.56 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00495/0.1711, allocations: 3.179 MB / 331.9 MB, free: 8.344 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.1716, allocations: 459.7 kB / 332.3 MB, free: 7.867 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005352/0.1721, allocations: 163.2 kB / 332.5 MB, free: 7.703 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007255/0.1729, allocations: 339.5 kB / 332.8 MB, free: 7.375 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1729, allocations: 0 / 332.8 MB, free: 7.375 MB / 282.7 MB Notification: Performance of Templates: time 0.03413/0.207, allocations: 23.46 MB / 356.3 MB, free: 320 kB / 298.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 -s gbode -gbm=radauIIA3 -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.028047683183104]