Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.Drive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 78.95 kB / 19.76 MB, free: 2.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 177.2 MB / 200.1 MB, free: 8.5 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 170.7 kB / 256.6 MB, free: 4.309 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03876/0.03876, allocations: 6.666 MB / 319.7 MB, free: 5.387 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") translateModel(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002794/0.002794, allocations: 83.88 kB / 446.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1577, allocations: 55.58 MB / 0.4902 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.003968/0.1616, allocations: 2.002 MB / 0.4922 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1638, allocations: 1.079 MB / 0.4932 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.1639, allocations: 7.938 kB / 0.4932 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004627/0.1644, allocations: 119.5 kB / 0.4934 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000492/0.1649, allocations: 155.3 kB / 0.4935 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.1652, allocations: 103.6 kB / 0.4936 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003381/0.1655, allocations: 227.2 kB / 0.4938 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.1657, allocations: 29.3 kB / 0.4938 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.1658, allocations: 99.62 kB / 0.4939 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.166, allocations: 115.6 kB / 0.4941 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.1661, allocations: 16 kB / 0.4941 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1662, allocations: 51.98 kB / 0.4941 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.21e-05/0.1663, allocations: 47.83 kB / 0.4942 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1664, allocations: 79.47 kB / 0.4942 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.1668, allocations: 227 kB / 0.4945 GB, free: 14.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1668, allocations: 0 / 0.4945 GB, free: 14.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1668, allocations: 4 kB / 0.4945 GB, free: 14.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1668, allocations: 0 / 0.4945 GB, free: 14.4 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008414/0.1676, allocations: 449.1 kB / 0.4949 GB, free: 13.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.1677, allocations: 15.97 kB / 0.4949 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.842e-05/0.1677, allocations: 28.8 kB / 0.4949 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.1681, allocations: 190.9 kB / 0.4951 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.1681, allocations: 8.609 kB / 0.4951 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.1682, allocations: 20.08 kB / 0.4951 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.1685, allocations: 149.4 kB / 0.4953 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.1685, allocations: 4 kB / 0.4953 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1685, allocations: 4 kB / 0.4953 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1685, allocations: 8 kB / 0.4953 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.1687, allocations: 68.66 kB / 0.4954 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008308/0.1695, allocations: 0.5188 MB / 0.4959 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.1698, allocations: 90.58 kB / 0.496 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.55e-05/0.1699, allocations: 32.89 kB / 0.496 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.1699, allocations: 0 / 0.496 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.1701, allocations: 91.3 kB / 0.4961 GB, free: 12.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.1701, allocations: 0 / 0.4961 GB, free: 12.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004091/0.1705, allocations: 153.5 kB / 0.4962 GB, free: 12.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.1706, allocations: 59.41 kB / 0.4963 GB, free: 12.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.1709, allocations: 281.8 kB / 0.4965 GB, free: 12.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.1709, allocations: 29.7 kB / 0.4966 GB, free: 12.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.171, allocations: 152.2 kB / 0.4967 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.1711, allocations: 31.7 kB / 0.4967 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.1711, allocations: 29.7 kB / 0.4968 GB, free: 11.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1713, allocations: 338.8 kB / 0.4971 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.924e-05/0.1714, allocations: 27.98 kB / 0.4971 GB, free: 11.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.1715, allocations: 66.81 kB / 0.4972 GB, free: 11.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.1717, allocations: 116.1 kB / 0.4973 GB, free: 11.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1717, allocations: 3.938 kB / 0.4973 GB, free: 11.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002783/0.172, allocations: 145.5 kB / 0.4974 GB, free: 11.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.172, allocations: 4 kB / 0.4974 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.172, allocations: 0 / 0.4974 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.1721, allocations: 7.984 kB / 0.4975 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.1722, allocations: 40.05 kB / 0.4975 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1722, allocations: 0 / 0.4975 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.864e-05/0.1723, allocations: 11.92 kB / 0.4975 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.1723, allocations: 4 kB / 0.4975 GB, free: 11.05 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002104/0.1725, allocations: 150.1 kB / 0.4977 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.1726, allocations: 19.86 kB / 0.4977 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.1729, allocations: 139.4 kB / 0.4978 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.1729, allocations: 4 kB / 0.4978 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1729, allocations: 3.938 kB / 0.4978 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1729, allocations: 4 kB / 0.4978 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.1731, allocations: 177.2 kB / 0.498 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1731, allocations: 3.984 kB / 0.498 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.1733, allocations: 19.94 kB / 0.498 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1733, allocations: 0 / 0.498 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.1733, allocations: 8 kB / 0.498 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1733, allocations: 0 / 0.498 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.369e-05/0.1733, allocations: 7.984 kB / 0.498 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.1737, allocations: 201 kB / 0.4982 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.1737, allocations: 23.83 kB / 0.4982 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.1738, allocations: 4 kB / 0.4982 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.25e-05/0.1738, allocations: 8.062 kB / 0.4982 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.1739, allocations: 3.984 kB / 0.4983 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.1739, allocations: 7.984 kB / 0.4983 GB, free: 10.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002284/0.1741, allocations: 217.2 kB / 0.4985 GB, free: 10 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1741, allocations: 0 / 0.4985 GB, free: 10 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1744, allocations: 35.94 kB / 0.4985 GB, free: 9.969 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.w,load.phi) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001724/0.1761, allocations: 441.7 kB / 0.4989 GB, free: 9.711 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.1764, allocations: 84.03 kB / 0.499 GB, free: 9.629 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1764, allocations: 0 / 0.499 GB, free: 9.629 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1765, allocations: 43.91 kB / 0.499 GB, free: 9.586 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1768, allocations: 40.73 kB / 0.4991 GB, free: 9.551 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.178, allocations: 0.5091 MB / 0.4996 GB, free: 9.016 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.1782, allocations: 132.1 kB / 0.4997 GB, free: 8.863 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.849e-05/0.1782, allocations: 21.42 kB / 0.4997 GB, free: 8.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.1783, allocations: 20.5 kB / 0.4997 GB, free: 8.824 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1783, allocations: 3.938 kB / 0.4997 GB, free: 8.82 MB / 430.1 MB Notification: Performance of Templates: time 0.006749/0.185, allocations: 2.133 MB / 0.5018 GB, free: 6.723 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Rotational.Drive.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Rotational.Drive.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.Drive.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.Drive.pipe >> ../files/HanserModelica_HanserModelica.Rotational.Drive.sim & ./HanserModelica_HanserModelica.Rotational.Drive -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.Drive.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.442806489067152] Failed to read output from testmodel.py, exit status != 0: 0.19448230206035078 0.45118602199999996 0.28159987699999994 Calling exit ...