Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.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.001335/0.001335, allocations: 114 kB / 19.12 MB, free: 4.027 MB / 14.72 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.001374/0.001374, allocations: 208.9 kB / 22.07 MB, free: 1.078 MB / 14.72 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 1.498/1.498, allocations: 227.4 MB / 252.3 MB, free: 100 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2429/0.2429, allocations: 46.17 MB / 351.8 MB, free: 14.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 75.97 kB / 490.8 MB, free: 28.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1391, allocations: 62.45 MB / 0.5403 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled): time 0.006664/0.1458, allocations: 4.545 MB / 0.5448 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003353/0.1491, allocations: 1.655 MB / 0.5464 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004752/0.1497, allocations: 15.94 kB / 0.5464 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008846/0.1506, allocations: 297.9 kB / 0.5467 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004161/0.151, allocations: 154.5 kB / 0.5468 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000573/0.1516, allocations: 275.6 kB / 0.5471 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009627/0.1526, allocations: 0.8496 MB / 0.5479 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005743/0.1532, allocations: 402.2 kB / 0.5483 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004464/0.1536, allocations: 298.7 kB / 0.5486 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.154, allocations: 346.3 kB / 0.5489 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.1541, allocations: 80 kB / 0.549 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1542, allocations: 80 kB / 0.5491 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.1544, allocations: 167.3 kB / 0.5492 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.1547, allocations: 374 kB / 0.5496 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.1558, allocations: 0.9413 MB / 0.5505 GB, free: 9.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1558, allocations: 0 / 0.5505 GB, free: 9.785 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1558, allocations: 4 kB / 0.5505 GB, free: 9.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1558, allocations: 0 / 0.5505 GB, free: 9.781 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001701/0.1576, allocations: 1.039 MB / 0.5515 GB, free: 8.688 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1576, allocations: 12.03 kB / 0.5515 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.1577, allocations: 84.42 kB / 0.5516 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008446/0.1586, allocations: 0.5018 MB / 0.5521 GB, free: 8.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.1586, allocations: 45.69 kB / 0.5521 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.1588, allocations: 64.33 kB / 0.5522 GB, free: 7.949 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.1598, allocations: 0.5953 MB / 0.5528 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.1599, allocations: 4 kB / 0.5528 GB, free: 7.328 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/0.1599, allocations: 24 kB / 0.5528 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.1599, allocations: 12 kB / 0.5528 GB, free: 7.293 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008859/0.1608, allocations: 424.9 kB / 0.5532 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/0.164, allocations: 2.137 MB / 0.5553 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.1652, allocations: 0.5634 MB / 0.5559 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.1656, allocations: 175.4 kB / 0.556 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.1656, allocations: 15.91 kB / 0.556 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.1657, allocations: 38.55 kB / 0.5561 GB, free: 3.805 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.1657, allocations: 4 kB / 0.5561 GB, free: 3.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002449/0.1681, allocations: 1.142 MB / 0.5572 GB, free: 2.582 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.1682, allocations: 55.41 kB / 0.5573 GB, free: 2.516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006697/0.1689, allocations: 0.5184 MB / 0.5578 GB, free: 1.988 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.1689, allocations: 29.7 kB / 0.5578 GB, free: 1.953 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.1692, allocations: 352.7 kB / 0.5581 GB, free: 1.605 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.1693, allocations: 134.8 kB / 0.5583 GB, free: 1.473 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.1694, allocations: 78.08 kB / 0.5583 GB, free: 1.387 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1696, allocations: 362.8 kB / 0.5587 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.17, allocations: 142.5 kB / 0.5588 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.1704, allocations: 228.8 kB / 0.559 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/0.1711, allocations: 364.2 kB / 0.5594 GB, free: 252 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1711, allocations: 3.938 kB / 0.5594 GB, free: 248 kB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009522/0.172, allocations: 485.3 kB / 0.5598 GB, free: 15.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1721, allocations: 7.938 kB / 0.5599 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1721, allocations: 4 kB / 0.5599 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/0.1723, allocations: 24.84 kB / 0.5599 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.1727, allocations: 95.89 kB / 0.56 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.1739, allocations: 1.384 MB / 0.5613 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.1742, allocations: 28.14 kB / 0.5613 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.1742, allocations: 16 kB / 0.5614 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000469/0.1747, allocations: 253 kB / 0.5616 GB, free: 13.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003098/0.175, allocations: 206.9 kB / 0.5618 GB, free: 13.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005819/0.1756, allocations: 332 kB / 0.5621 GB, free: 13.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.1756, allocations: 0 / 0.5621 GB, free: 13.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.000763/0.1764, allocations: 446.6 kB / 0.5625 GB, free: 12.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1764, allocations: 14.28 kB / 0.5626 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1764, allocations: 4 kB / 0.5626 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.01e-05/0.1765, allocations: 25.19 kB / 0.5626 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.1769, allocations: 95.89 kB / 0.5627 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.1781, allocations: 1.379 MB / 0.564 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.1784, allocations: 19.92 kB / 0.564 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.1784, allocations: 16 kB / 0.5641 GB, free: 11.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (speedController.integrator.local_reset,currentController.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002171/0.1786, allocations: 210 kB / 0.5643 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-05/0.1787, allocations: 51.67 kB / 0.5643 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.1789, allocations: 61.38 kB / 0.5644 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1789, allocations: 8 kB / 0.5644 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.1789, allocations: 3.938 kB / 0.5644 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.1789, allocations: 3.984 kB / 0.5644 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.1808, allocations: 1.059 MB / 0.5654 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.1808, allocations: 4 kB / 0.5654 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.1811, allocations: 67.91 kB / 0.5655 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-05/0.1812, allocations: 20.84 kB / 0.5655 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.1813, allocations: 12 kB / 0.5655 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.1825, allocations: 1.383 MB / 0.5669 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1825, allocations: 0 / 0.5669 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.1837, allocations: 0.6396 MB / 0.5675 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.1838, allocations: 140.7 kB / 0.5676 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/0.1839, allocations: 8 kB / 0.5676 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.1842, allocations: 23.97 kB / 0.5677 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/0.1842, allocations: 23.97 kB / 0.5677 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.1843, allocations: 12 kB / 0.5677 GB, free: 7.094 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004855/0.1848, allocations: 362.9 kB / 0.568 GB, free: 6.742 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1848, allocations: 0 / 0.568 GB, free: 6.742 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006532/0.1854, allocations: 180 kB / 0.5682 GB, free: 6.566 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (dcpm.inductor.i,dcpm.inertia.w,inertiaLoad.phi,deadTime.y,currentController.integrator.y,preFilter.y,speedController.integrator.y) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,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.0001622/0.1856, allocations: 103.2 kB / 0.5683 GB, free: 6.453 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.187, allocations: 0.7282 MB / 0.569 GB, free: 5.699 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1871, allocations: 384 / 0.569 GB, free: 5.699 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004635/0.1875, allocations: 282.4 kB / 0.5693 GB, free: 5.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006371/0.1882, allocations: 111 kB / 0.5694 GB, free: 5.305 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.1905, allocations: 1.332 MB / 0.5707 GB, free: 3.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.1912, allocations: 0.8941 MB / 0.5716 GB, free: 3.004 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.1913, allocations: 39.44 kB / 0.5716 GB, free: 2.965 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1913, allocations: 0 / 0.5716 GB, free: 2.965 MB / 430.1 MB Notification: Performance of Templates: time 0.0143/0.2056, allocations: 9.585 MB / 0.581 GB, free: 9.383 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.378487951005809] Failed to read output from testmodel.py, exit status != 0: 0.21275291894562542 0.22596356 0.06750914200000001 Calling exit ...