Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001502/0.001502, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004497/0.004497, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9703/0.9703, allocations: 177 MB / 205.2 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.859e-05, allocations: 2.312 kB / 273 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.007432/0.00746, allocations: 8.901 MB / 281.9 MB, free: 8.762 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004434/0.01189, allocations: 2.898 MB / 284.8 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008135/0.01271, allocations: 55.62 kB / 284.9 MB, free: 5.801 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.01384, allocations: 0.5899 MB / 285.5 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.01535, allocations: 0.8072 MB / 286.3 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.01584, allocations: 351.3 kB / 286.6 MB, free: 4.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001825/0.01766, allocations: 2.458 MB / 289.1 MB, free: 1.582 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.01868, allocations: 0.9892 MB / 290.1 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1132/0.1319, allocations: 1.598 MB / 291.7 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.1334, allocations: 1.276 MB / 292.9 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003711/0.1338, allocations: 280.1 kB / 293.2 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006061/0.1344, allocations: 381.3 kB / 293.6 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006131/0.135, allocations: 0.8426 MB / 294.4 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009027/0.1359, allocations: 0.8829 MB / 295.3 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.1382, allocations: 2.053 MB / 297.4 MB, free: 16.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1382, allocations: 0 / 297.4 MB, free: 16.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1382, allocations: 0.5938 kB / 297.4 MB, free: 16.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.842e-05/0.1382, allocations: 0 / 297.4 MB, free: 16.33 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.003935/0.1422, allocations: 2.739 MB / 300.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.1422, allocations: 9.719 kB / 300.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.1432, allocations: 450.1 kB / 300.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.145, allocations: 1.292 MB / 301.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-05/0.1451, allocations: 134.7 kB / 302 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/0.1453, allocations: 184.4 kB / 302.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.1476, allocations: 1.487 MB / 303.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.196e-05/0.1476, allocations: 10.44 kB / 303.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.1478, allocations: 76.81 kB / 303.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.835e-05/0.1478, allocations: 88.38 kB / 303.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.1491, allocations: 0.6631 MB / 304.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006218/0.1553, allocations: 6.122 MB / 310.6 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007887/0.1561, allocations: 0.5519 MB / 311.1 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007026/0.1568, allocations: 0.4982 MB / 311.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/0.157, allocations: 53.55 kB / 311.7 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.157, allocations: 49.36 kB / 311.7 MB, free: 9.332 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.785e-06/0.157, allocations: 0 / 311.7 MB, free: 9.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.004141/0.1612, allocations: 2.694 MB / 314.4 MB, free: 7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.1612, allocations: 68.41 kB / 314.5 MB, free: 6.922 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009127/0.1621, allocations: 1.106 MB / 315.6 MB, free: 5.805 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.1621, allocations: 41.7 kB / 315.6 MB, free: 5.758 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.1625, allocations: 1.018 MB / 316.7 MB, free: 4.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.1626, allocations: 374 kB / 317 MB, free: 4.371 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.1628, allocations: 219.3 kB / 317.2 MB, free: 4.152 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.1629, allocations: 0.5316 MB / 317.8 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.1632, allocations: 195.1 kB / 318 MB, free: 3.422 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.1636, allocations: 0.6052 MB / 318.6 MB, free: 2.656 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007522/0.1643, allocations: 0.8984 MB / 319.5 MB, free: 1.625 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1643, allocations: 4 kB / 319.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001627/0.1659, allocations: 1.3 MB / 320.8 MB, free: 392 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.166, allocations: 8 kB / 320.8 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.166, allocations: 11.94 kB / 320.8 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.1671, allocations: 0.5362 MB / 321.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/0.1676, allocations: 227.8 kB / 321.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004886/0.1725, allocations: 5.813 MB / 327.4 MB, free: 9.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006576/0.1732, allocations: 79.81 kB / 327.4 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.1733, allocations: 51.98 kB / 327.5 MB, free: 9.469 MB / 282.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.0005007/0.1738, allocations: 226.3 kB / 327.7 MB, free: 9.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/0.174, allocations: 179 kB / 327.9 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.1754, allocations: 0.96 MB / 328.8 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.1754, allocations: 12 kB / 328.9 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.1754, allocations: 0 / 328.9 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.1754, allocations: 11.92 kB / 328.9 MB, free: 8.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/0.1788, allocations: 2.629 MB / 331.5 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.1788, allocations: 7.938 kB / 331.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.1793, allocations: 175.2 kB / 331.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000679/0.18, allocations: 286.6 kB / 332 MB, free: 4.957 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-05/0.18, allocations: 27.97 kB / 332 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003475/0.1835, allocations: 6.245 MB / 338.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1835, allocations: 7.938 kB / 338.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.1854, allocations: 1.383 MB / 339.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004608/0.1859, allocations: 259 kB / 339.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.186, allocations: 27.94 kB / 339.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.1864, allocations: 63.92 kB / 340 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.1866, allocations: 88.11 kB / 340.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.1866, allocations: 31.98 kB / 340.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000784/0.1874, allocations: 0.6662 MB / 340.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1874, allocations: 0 / 340.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001239/0.1887, allocations: 428 kB / 341.2 MB, free: 11.37 MB / 298.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.0003102/0.189, allocations: 186.3 kB / 341.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.1906, allocations: 1.305 MB / 342.7 MB, free: 9.875 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1906, allocations: 0 / 342.7 MB, free: 9.875 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.1917, allocations: 1.046 MB / 343.7 MB, free: 8.789 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.1928, allocations: 341.4 kB / 344 MB, free: 8.477 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005102/0.1979, allocations: 3.395 MB / 347.4 MB, free: 5.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.1984, allocations: 0.5153 MB / 347.9 MB, free: 4.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000779/0.1991, allocations: 247 kB / 348.2 MB, free: 4.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.1993, allocations: 92.48 kB / 348.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of SimCode: time 1.573e-06/0.1993, allocations: 0 / 348.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of Templates: time 0.02883/0.2282, allocations: 23.25 MB / 371.5 MB, free: 13.25 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.5695398817770183]