Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001261/0.001261, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001003/0.001003, allocations: 166.3 kB / 24.91 MB, free: 8.754 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.9425/0.9425, allocations: 177 MB / 205.2 MB, free: 5.016 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_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.626e-05, allocations: 2.312 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.007638/0.007654, allocations: 9.177 MB / 282.6 MB, free: 7.812 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004099/0.01175, allocations: 3.092 MB / 285.7 MB, free: 4.711 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005845/0.01234, allocations: 63.56 kB / 285.7 MB, free: 4.648 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.0135, allocations: 0.6364 MB / 286.4 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.01484, allocations: 0.8537 MB / 287.2 MB, free: 3.148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.01531, allocations: 371.4 kB / 287.6 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1166/0.1319, allocations: 2.774 MB / 290.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001793/0.1337, allocations: 1.162 MB / 291.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003062/0.1368, allocations: 1.94 MB / 293.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/0.139, allocations: 1.36 MB / 294.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009059/0.1399, allocations: 301.6 kB / 295.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.1409, allocations: 400.7 kB / 295.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009644/0.1419, allocations: 0.899 MB / 296.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001932/0.1438, allocations: 0.9615 MB / 297.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003321/0.1471, allocations: 2.275 MB / 299.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.1471, allocations: 1.219 kB / 299.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1471, allocations: 0 / 299.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001116/0.1473, allocations: 0.8125 kB / 299.6 MB, free: 15.04 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.004406/0.1517, allocations: 2.654 MB / 302.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1517, allocations: 9.344 kB / 302.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008579/0.1526, allocations: 400.1 kB / 302.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.1542, allocations: 1.035 MB / 303.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.614e-05/0.1543, allocations: 154.5 kB / 303.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.1545, allocations: 212.8 kB / 304.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.1562, allocations: 1.579 MB / 305.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/0.1562, allocations: 1.781 kB / 305.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.1564, allocations: 86.94 kB / 305.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-05/0.1564, allocations: 97.61 kB / 305.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009041/0.1573, allocations: 0.5942 MB / 306.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005546/0.1629, allocations: 5.399 MB / 311.8 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006527/0.1635, allocations: 0.6645 MB / 312.5 MB, free: 8.555 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/0.1641, allocations: 482 kB / 313 MB, free: 8.094 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.1642, allocations: 48.97 kB / 313 MB, free: 8.047 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1643, allocations: 50.62 kB / 313.1 MB, free: 7.992 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.785e-06/0.1643, allocations: 0 / 313.1 MB, free: 7.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.004186/0.1685, allocations: 2.478 MB / 315.6 MB, free: 5.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.1685, allocations: 64.41 kB / 315.6 MB, free: 5.441 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006268/0.1691, allocations: 0.99 MB / 316.6 MB, free: 4.617 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.811e-05/0.1692, allocations: 45.7 kB / 316.7 MB, free: 4.566 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.1694, allocations: 0.8442 MB / 317.5 MB, free: 3.773 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.1696, allocations: 426.2 kB / 317.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.1698, allocations: 245.5 kB / 318.2 MB, free: 3.168 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.1698, allocations: 365.2 kB / 318.5 MB, free: 2.832 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.1701, allocations: 166.5 kB / 318.7 MB, free: 2.672 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.1704, allocations: 478.6 kB / 319.1 MB, free: 2.105 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/0.171, allocations: 0.7998 MB / 319.9 MB, free: 1.246 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.171, allocations: 0 / 319.9 MB, free: 1.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001042/0.172, allocations: 0.9143 MB / 320.9 MB, free: 384 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.172, allocations: 12.56 kB / 320.9 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.172, allocations: 12 kB / 320.9 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004633/0.1725, allocations: 212.3 kB / 321.1 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/0.1731, allocations: 297.2 kB / 321.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.1753, allocations: 3.156 MB / 324.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005609/0.1758, allocations: 47.94 kB / 324.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/0.1759, allocations: 40 kB / 324.6 MB, free: 12.5 MB / 282.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.0005304/0.1764, allocations: 196.1 kB / 324.8 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.1766, allocations: 135.8 kB / 324.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.1777, allocations: 0.8217 MB / 325.8 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.1777, allocations: 12 kB / 325.8 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1777, allocations: 8 kB / 325.8 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.1777, allocations: 7.969 kB / 325.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/0.1803, allocations: 2.07 MB / 327.9 MB, free: 9.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1804, allocations: 4 kB / 327.9 MB, free: 9.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004511/0.1808, allocations: 194.3 kB / 328.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006052/0.1814, allocations: 312.1 kB / 328.4 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/0.1815, allocations: 27.98 kB / 328.4 MB, free: 8.836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002458/0.1839, allocations: 4.361 MB / 332.7 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1839, allocations: 7.281 kB / 332.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.1853, allocations: 1.211 MB / 334 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.1857, allocations: 206.9 kB / 334.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.1858, allocations: 31.98 kB / 334.2 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.1861, allocations: 43.98 kB / 334.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.1863, allocations: 96.75 kB / 334.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.1863, allocations: 31.36 kB / 334.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004214/0.1867, allocations: 0.4889 MB / 334.9 MB, free: 2.168 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1867, allocations: 0 / 334.9 MB, free: 2.168 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001086/0.1878, allocations: 455.9 kB / 335.3 MB, free: 1.723 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.0002667/0.1881, allocations: 167.7 kB / 335.5 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.1892, allocations: 0.974 MB / 336.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-05/0.1892, allocations: 20.62 kB / 336.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007177/0.1899, allocations: 0.7924 MB / 337.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009369/0.1909, allocations: 393 kB / 337.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.1952, allocations: 3.578 MB / 341.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.1956, allocations: 0.497 MB / 341.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004725/0.1961, allocations: 192.7 kB / 341.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006526/0.1967, allocations: 393.1 kB / 342.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1967, allocations: 0 / 342.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of Templates: time 0.03212/0.2288, allocations: 25.4 MB / 367.7 MB, free: 1.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.2803307119756937]