Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.00109/0.00109, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001244/0.001244, allocations: 166.7 kB / 24.91 MB, free: 9.152 MB / 18.57 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.8981/0.8981, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.475e-05, allocations: 4.703 kB / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.009743/0.009758, allocations: 8.699 MB / 282.2 MB, free: 8.539 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004876/0.01463, allocations: 2.982 MB / 285.1 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005627/0.0152, allocations: 55.62 kB / 285.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.01652, allocations: 0.6094 MB / 285.8 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.01816, allocations: 0.8227 MB / 286.6 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.01876, allocations: 331.5 kB / 286.9 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002406/0.02116, allocations: 2.462 MB / 289.4 MB, free: 1.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.02242, allocations: 1.02 MB / 290.4 MB, free: 180 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1077/0.1302, allocations: 1.732 MB / 292.2 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.1316, allocations: 1.219 MB / 293.4 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004157/0.132, allocations: 270.2 kB / 293.6 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005696/0.1325, allocations: 369.5 kB / 294 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000546/0.1331, allocations: 0.8077 MB / 294.8 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.1341, allocations: 0.8638 MB / 295.7 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.136, allocations: 2.012 MB / 297.7 MB, free: 16.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.136, allocations: 5.094 kB / 297.7 MB, free: 16.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.136, allocations: 0 / 297.7 MB, free: 16.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.191e-05/0.136, allocations: 0 / 297.7 MB, free: 16.44 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.002775/0.1388, allocations: 2.377 MB / 300.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.626e-05/0.1388, allocations: 13.41 kB / 300.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006971/0.1395, allocations: 365.2 kB / 300.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.1406, allocations: 0.94 MB / 301.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.328e-05/0.1407, allocations: 140.2 kB / 301.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.1409, allocations: 183.2 kB / 301.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.1422, allocations: 1.392 MB / 303.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.1422, allocations: 6 kB / 303.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.1424, allocations: 75.28 kB / 303.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.674e-05/0.1424, allocations: 86.05 kB / 303.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007527/0.1432, allocations: 0.5246 MB / 303.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004101/0.1473, allocations: 4.769 MB / 308.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.1478, allocations: 0.5385 MB / 309.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005014/0.1483, allocations: 437.4 kB / 309.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.1484, allocations: 45.27 kB / 309.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.1485, allocations: 42.5 kB / 309.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 1.884e-06/0.1485, allocations: 0 / 309.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.00305/0.1515, allocations: 2.189 MB / 311.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.602e-05/0.1515, allocations: 68.34 kB / 311.9 MB, free: 9.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000512/0.152, allocations: 0.8831 MB / 312.7 MB, free: 9.219 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.1521, allocations: 45.69 kB / 312.8 MB, free: 9.168 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.1523, allocations: 0.7696 MB / 313.6 MB, free: 8.438 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.1524, allocations: 366 kB / 313.9 MB, free: 8.102 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.1526, allocations: 202.9 kB / 314.1 MB, free: 7.922 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.634e-05/0.1526, allocations: 348.8 kB / 314.4 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.1528, allocations: 150.1 kB / 314.6 MB, free: 7.449 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.153, allocations: 431.2 kB / 315 MB, free: 6.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.1534, allocations: 0.6958 MB / 315.7 MB, free: 6.188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.1535, allocations: 4 kB / 315.7 MB, free: 6.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001038/0.1545, allocations: 0.9282 MB / 316.6 MB, free: 5.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1545, allocations: 8 kB / 316.7 MB, free: 5.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1545, allocations: 22.34 kB / 316.7 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008547/0.1554, allocations: 486.2 kB / 317.1 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.1557, allocations: 217.9 kB / 317.4 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/0.1583, allocations: 4.151 MB / 321.5 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/0.1587, allocations: 43.88 kB / 321.6 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.1587, allocations: 40 kB / 321.6 MB, free: 300 kB / 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.000236/0.159, allocations: 181.8 kB / 321.8 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.1591, allocations: 123.1 kB / 321.9 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009369/0.16, allocations: 0.7343 MB / 322.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.16, allocations: 12 kB / 322.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.16, allocations: 4 kB / 322.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.16, allocations: 7.969 kB / 322.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.1622, allocations: 1.845 MB / 324.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1622, allocations: 4 kB / 324.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.1626, allocations: 158.3 kB / 324.7 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005605/0.1631, allocations: 296.5 kB / 324.9 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/0.1632, allocations: 27.98 kB / 325 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/0.1654, allocations: 4.372 MB / 329.3 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1654, allocations: 0 / 329.3 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.1666, allocations: 1.061 MB / 330.4 MB, free: 7.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.1668, allocations: 183 kB / 330.6 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.1669, allocations: 24 kB / 330.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.1672, allocations: 39.97 kB / 330.6 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.1674, allocations: 84.69 kB / 330.7 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.1674, allocations: 16 kB / 330.7 MB, free: 7.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003807/0.1678, allocations: 457.6 kB / 331.2 MB, free: 6.617 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1678, allocations: 0 / 331.2 MB, free: 6.617 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008058/0.1686, allocations: 423.9 kB / 331.6 MB, free: 6.203 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.0002301/0.1688, allocations: 163 kB / 331.8 MB, free: 6.047 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.1699, allocations: 0.9984 MB / 332.8 MB, free: 5.078 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/0.1699, allocations: 16.5 kB / 332.8 MB, free: 5.062 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006503/0.1705, allocations: 0.7492 MB / 333.5 MB, free: 4.309 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007695/0.1713, allocations: 328.8 kB / 333.8 MB, free: 4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/0.1747, allocations: 3.186 MB / 337 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.175, allocations: 463.7 kB / 337.5 MB, free: 308 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003574/0.1754, allocations: 167.2 kB / 337.6 MB, free: 136 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/0.1759, allocations: 333.1 kB / 338 MB, free: 15.8 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1759, allocations: 4 kB / 338 MB, free: 15.8 MB / 298.7 MB Notification: Performance of Templates: time 0.02648/0.2024, allocations: 23.56 MB / 361.5 MB, free: 8.672 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.090215516742319]