Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.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.001311/0.001311, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001358/0.001358, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.496/1.496, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.2467/0.2467, allocations: 46.88 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_CurrentControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled") [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.002234/0.002234, allocations: 79.86 kB / 0.4923 GB, free: 8.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1356, allocations: 65.98 MB / 0.5568 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled): time 0.005909/0.1415, allocations: 4.061 MB / 0.5607 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.1443, allocations: 1.499 MB / 0.5622 GB, free: 372 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.1446, allocations: 11.94 kB / 0.5622 GB, free: 360 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000735/0.1453, allocations: 258.3 kB / 0.5625 GB, free: 100 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.1456, allocations: 142.8 kB / 0.5626 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.146, allocations: 195.7 kB / 0.5628 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007053/0.1467, allocations: 0.6311 MB / 0.5634 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/0.1471, allocations: 196.2 kB / 0.5636 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.1475, allocations: 243 kB / 0.5638 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.1478, allocations: 266.7 kB / 0.5641 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.343e-05/0.1479, allocations: 60 kB / 0.5641 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.284e-05/0.148, allocations: 64 kB / 0.5642 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.1481, allocations: 123.6 kB / 0.5643 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.1484, allocations: 294.5 kB / 0.5646 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008097/0.1492, allocations: 0.7196 MB / 0.5653 GB, free: 13.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1492, allocations: 0 / 0.5653 GB, free: 13.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1492, allocations: 0 / 0.5653 GB, free: 13.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.1492, allocations: 0 / 0.5653 GB, free: 13.19 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001386/0.1506, allocations: 0.845 MB / 0.5661 GB, free: 12.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1506, allocations: 8.031 kB / 0.5661 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.1508, allocations: 68.52 kB / 0.5662 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006413/0.1514, allocations: 407.9 kB / 0.5666 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.1514, allocations: 41.38 kB / 0.5666 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.359e-05/0.1515, allocations: 48.33 kB / 0.5667 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008271/0.1523, allocations: 463.2 kB / 0.5671 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.1524, allocations: 0 / 0.5671 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/0.1524, allocations: 20 kB / 0.5671 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1524, allocations: 12 kB / 0.5671 GB, free: 11.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006386/0.1531, allocations: 307.8 kB / 0.5674 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.1556, allocations: 1.666 MB / 0.5691 GB, free: 9.129 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00091/0.1565, allocations: 375.6 kB / 0.5694 GB, free: 8.734 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.1567, allocations: 108.8 kB / 0.5695 GB, free: 8.625 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.1568, allocations: 4.406 kB / 0.5695 GB, free: 8.621 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.1568, allocations: 42.55 kB / 0.5696 GB, free: 8.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.412e-06/0.1568, allocations: 0 / 0.5696 GB, free: 8.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.001801/0.1586, allocations: 0.8943 MB / 0.5704 GB, free: 7.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.1586, allocations: 55.41 kB / 0.5705 GB, free: 7.535 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/0.1591, allocations: 397.6 kB / 0.5709 GB, free: 7.141 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.1591, allocations: 29.7 kB / 0.5709 GB, free: 7.105 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.1594, allocations: 276.3 kB / 0.5712 GB, free: 6.828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.573e-05/0.1594, allocations: 103.2 kB / 0.5713 GB, free: 6.727 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1596, allocations: 61.44 kB / 0.5713 GB, free: 6.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1597, allocations: 354.8 kB / 0.5717 GB, free: 6.305 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.1599, allocations: 96.81 kB / 0.5718 GB, free: 6.207 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.1602, allocations: 150.8 kB / 0.5719 GB, free: 6.035 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/0.1607, allocations: 254.8 kB / 0.5721 GB, free: 5.762 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1607, allocations: 0 / 0.5721 GB, free: 5.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006572/0.1613, allocations: 354 kB / 0.5725 GB, free: 5.406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1613, allocations: 8.156 kB / 0.5725 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.1613, allocations: 8 kB / 0.5725 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.1615, allocations: 28.78 kB / 0.5725 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.1618, allocations: 67.91 kB / 0.5726 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.1631, allocations: 1.376 MB / 0.5739 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.1633, allocations: 12 kB / 0.5739 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.1633, allocations: 19.92 kB / 0.574 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003144/0.1636, allocations: 204.2 kB / 0.5742 GB, free: 3.539 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002158/0.1638, allocations: 152.7 kB / 0.5743 GB, free: 3.363 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003738/0.1642, allocations: 243.8 kB / 0.5745 GB, free: 3.098 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.342e-06/0.1642, allocations: 4 kB / 0.5745 GB, free: 3.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005765/0.1648, allocations: 326 kB / 0.5749 GB, free: 2.766 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1648, allocations: 8 kB / 0.5749 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-06/0.1648, allocations: 0 / 0.5749 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.58e-05/0.1649, allocations: 28.78 kB / 0.5749 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.1651, allocations: 64.16 kB / 0.5749 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.1662, allocations: 1.39 MB / 0.5763 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.1664, allocations: 8 kB / 0.5763 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.1664, allocations: 8 kB / 0.5763 GB, free: 1.121 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (currentController.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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.0001543/0.1666, allocations: 204.1 kB / 0.5765 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.1666, allocations: 43.72 kB / 0.5766 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.784e-05/0.1667, allocations: 39.52 kB / 0.5766 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1667, allocations: 4.094 kB / 0.5766 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1667, allocations: 8 kB / 0.5766 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1667, allocations: 7.984 kB / 0.5766 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.168, allocations: 0.8403 MB / 0.5774 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.168, allocations: 0 / 0.5774 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.1683, allocations: 55.97 kB / 0.5775 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.401e-05/0.1684, allocations: 24.84 kB / 0.5775 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.1684, allocations: 7.938 kB / 0.5775 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.1695, allocations: 1.371 MB / 0.5789 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1695, allocations: 4.031 kB / 0.5789 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007994/0.1703, allocations: 494 kB / 0.5793 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.1704, allocations: 120.9 kB / 0.5794 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.1704, allocations: 7.984 kB / 0.5795 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.1706, allocations: 15.98 kB / 0.5795 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.1707, allocations: 27.91 kB / 0.5795 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.1707, allocations: 11.94 kB / 0.5795 GB, free: 13.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003306/0.171, allocations: 283.2 kB / 0.5798 GB, free: 13.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.171, allocations: 0 / 0.5798 GB, free: 13.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005537/0.1716, allocations: 140 kB / 0.5799 GB, free: 13.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcpm.inductor.i,dcpm.inertia.w,torqueLoad.phi,deadTime.y,currentController.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 (24): * Single equations (assignments): 23 * 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.0001278/0.1717, allocations: 99.25 kB / 0.58 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.1728, allocations: 0.5788 MB / 0.5806 GB, free: 12.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1728, allocations: 0.9375 kB / 0.5806 GB, free: 12.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.1732, allocations: 222.6 kB / 0.5808 GB, free: 12.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005276/0.1737, allocations: 77.94 kB / 0.5809 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.1755, allocations: 1.068 MB / 0.5819 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.176, allocations: 0.8308 MB / 0.5827 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.744e-05/0.1761, allocations: 31.44 kB / 0.5827 GB, free: 10.17 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1761, allocations: 7.938 kB / 0.5828 GB, free: 10.16 MB / 446.1 MB Notification: Performance of Templates: time 0.01031/0.1864, allocations: 7.244 MB / 0.5898 GB, free: 2.922 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.421824190067127] Failed to read output from testmodel.py, exit status != 0: 0.19410291989333928 0.45760578799999996 0.30566840999999995 Calling exit ...