Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001331/0.001331, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001436/0.001436, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.528/1.528, allocations: 230.2 MB / 255.2 MB, free: 15.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2842/0.2842, allocations: 46.87 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002418/0.002418, allocations: 75.72 kB / 0.4924 GB, free: 26.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1286, allocations: 65.97 MB / 0.5568 GB, free: 8.641 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled): time 0.007512/0.1362, allocations: 4.583 MB / 0.5612 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003407/0.1396, allocations: 1.659 MB / 0.5629 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006949/0.1403, allocations: 15.94 kB / 0.5629 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.1414, allocations: 293.9 kB / 0.5632 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007901/0.1421, allocations: 174.5 kB / 0.5633 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007621/0.1429, allocations: 271.6 kB / 0.5636 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001769/0.1447, allocations: 0.8457 MB / 0.5644 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005971/0.1453, allocations: 282.3 kB / 0.5647 GB, free: 484 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006499/0.1459, allocations: 306.7 kB / 0.565 GB, free: 176 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005615/0.1465, allocations: 342.3 kB / 0.5653 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.1466, allocations: 80 kB / 0.5654 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.1467, allocations: 80 kB / 0.5655 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.1469, allocations: 171.3 kB / 0.5656 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.1473, allocations: 378 kB / 0.566 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.1485, allocations: 0.9336 MB / 0.5669 GB, free: 14.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1485, allocations: 0 / 0.5669 GB, free: 14.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1485, allocations: 0 / 0.5669 GB, free: 14.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1485, allocations: 0 / 0.5669 GB, free: 14.2 MB / 430.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.001786/0.1503, allocations: 1.039 MB / 0.5679 GB, free: 13.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1504, allocations: 12.03 kB / 0.5679 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.1505, allocations: 88.42 kB / 0.568 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008485/0.1513, allocations: 0.5018 MB / 0.5685 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-05/0.1514, allocations: 49.69 kB / 0.5685 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.1515, allocations: 64.33 kB / 0.5686 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.1526, allocations: 0.5914 MB / 0.5692 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.1527, allocations: 3.938 kB / 0.5692 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/0.1527, allocations: 24 kB / 0.5692 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.1527, allocations: 20 kB / 0.5692 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000918/0.1536, allocations: 421 kB / 0.5696 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.157, allocations: 2.137 MB / 0.5717 GB, free: 9.059 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.1582, allocations: 0.5462 MB / 0.5722 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.1586, allocations: 170.9 kB / 0.5724 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.1586, allocations: 7.938 kB / 0.5724 GB, free: 8.293 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.1586, allocations: 34.56 kB / 0.5725 GB, free: 8.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.1586, allocations: 0 / 0.5725 GB, free: 8.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.002573/0.1612, allocations: 1.148 MB / 0.5736 GB, free: 7.027 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.1613, allocations: 55.41 kB / 0.5736 GB, free: 6.961 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007236/0.162, allocations: 0.5145 MB / 0.5741 GB, free: 6.438 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.162, allocations: 33.7 kB / 0.5742 GB, free: 6.398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.1623, allocations: 348.7 kB / 0.5745 GB, free: 6.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.1624, allocations: 134.9 kB / 0.5746 GB, free: 5.922 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.1626, allocations: 78.08 kB / 0.5747 GB, free: 5.836 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.1628, allocations: 366.8 kB / 0.575 GB, free: 5.469 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.1631, allocations: 142.5 kB / 0.5752 GB, free: 5.328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/0.1635, allocations: 220.8 kB / 0.5754 GB, free: 5.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007177/0.1642, allocations: 364.1 kB / 0.5757 GB, free: 4.695 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1642, allocations: 3.938 kB / 0.5757 GB, free: 4.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009719/0.1652, allocations: 493.1 kB / 0.5762 GB, free: 4.199 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1652, allocations: 4 kB / 0.5762 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.1652, allocations: 8.281 kB / 0.5762 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.1654, allocations: 20.86 kB / 0.5762 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.1658, allocations: 99.88 kB / 0.5763 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.1671, allocations: 1.384 MB / 0.5777 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.1674, allocations: 23.98 kB / 0.5777 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.1674, allocations: 16 kB / 0.5777 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004443/0.1679, allocations: 253.1 kB / 0.578 GB, free: 2.254 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003157/0.1682, allocations: 210.9 kB / 0.5782 GB, free: 2.012 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005464/0.1687, allocations: 332 kB / 0.5785 GB, free: 1.652 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.1687, allocations: 0 / 0.5785 GB, free: 1.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0007876/0.1695, allocations: 458.7 kB / 0.5789 GB, free: 1.195 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.1695, allocations: 8 kB / 0.5789 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1695, allocations: 0 / 0.5789 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.075e-05/0.1696, allocations: 28.84 kB / 0.579 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.17, allocations: 91.89 kB / 0.579 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.1712, allocations: 1.371 MB / 0.5804 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.1714, allocations: 28.08 kB / 0.5804 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.1715, allocations: 19.98 kB / 0.5804 GB, free: 15.51 MB / 446.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.0001825/0.1716, allocations: 204.1 kB / 0.5806 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.904e-05/0.1717, allocations: 51.67 kB / 0.5807 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.1718, allocations: 57.28 kB / 0.5807 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1718, allocations: 0 / 0.5807 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1719, allocations: 7.938 kB / 0.5807 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1719, allocations: 3.938 kB / 0.5807 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.1737, allocations: 1.067 MB / 0.5818 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1737, allocations: 4.062 kB / 0.5818 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/0.174, allocations: 67.89 kB / 0.5819 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-05/0.1741, allocations: 24.84 kB / 0.5819 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.1742, allocations: 12 kB / 0.5819 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.1753, allocations: 1.382 MB / 0.5832 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1753, allocations: 0 / 0.5832 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.1765, allocations: 0.6239 MB / 0.5838 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.1766, allocations: 148.6 kB / 0.584 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.1767, allocations: 8 kB / 0.584 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.177, allocations: 23.98 kB / 0.584 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.177, allocations: 15.97 kB / 0.584 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.1771, allocations: 15.98 kB / 0.5841 GB, free: 11.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004992/0.1776, allocations: 366.9 kB / 0.5844 GB, free: 11.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1776, allocations: 0 / 0.5844 GB, free: 11.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006977/0.1783, allocations: 184 kB / 0.5846 GB, free: 11 MB / 446.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.0001529/0.1784, allocations: 105.2 kB / 0.5847 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.1799, allocations: 0.7003 MB / 0.5854 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1799, allocations: 0 / 0.5854 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000473/0.1803, allocations: 271.6 kB / 0.5856 GB, free: 9.887 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006485/0.181, allocations: 101.8 kB / 0.5857 GB, free: 9.789 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.1834, allocations: 1.346 MB / 0.587 GB, free: 8.402 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.184, allocations: 0.8902 MB / 0.5879 GB, free: 7.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.1841, allocations: 39.44 kB / 0.5879 GB, free: 7.441 MB / 446.1 MB Notification: Performance of SimCode: time 9.51e-07/0.1841, allocations: 0 / 0.5879 GB, free: 7.441 MB / 446.1 MB Notification: Performance of Templates: time 0.01557/0.1997, allocations: 9.621 MB / 0.5973 GB, free: 13.83 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.553396142087877] Failed to read output from testmodel.py, exit status != 0: 0.20825602998957038 0.22136362599999995 0.06994908699999994 Calling exit ...