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.0007894/0.0007894, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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 0.9363/0.9363, allocations: 177.2 MB / 200.3 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] 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.001158/0.001158, allocations: 152.2 kB / 257 MB, free: 12.98 MB / 250.7 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.0241/0.0241, allocations: 6.655 MB / 266.9 MB, free: 3.23 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 285.7 MB, free: 492 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.087e-05, allocations: 5.828 kB / 285.7 MB, free: 488 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.1267/0.1268, allocations: 2.12 MB / 287.8 MB, free: 21.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1283, allocations: 1.103 MB / 288.9 MB, free: 20.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1284, allocations: 6.594 kB / 288.9 MB, free: 20.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.1287, allocations: 126 kB / 289 MB, free: 20.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.129, allocations: 152.9 kB / 289.2 MB, free: 20.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.1293, allocations: 107.2 kB / 289.3 MB, free: 20.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.1296, allocations: 233.3 kB / 289.5 MB, free: 20.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1297, allocations: 37.16 kB / 289.5 MB, free: 20.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.1298, allocations: 125.7 kB / 289.7 MB, free: 20.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.13, allocations: 97.66 kB / 289.8 MB, free: 20.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.13, allocations: 11.94 kB / 289.8 MB, free: 20.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.253e-05/0.1301, allocations: 53.17 kB / 289.8 MB, free: 20.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.1302, allocations: 44.97 kB / 289.9 MB, free: 20.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.1302, allocations: 51.27 kB / 289.9 MB, free: 20.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.1305, allocations: 188.2 kB / 290.1 MB, free: 20.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1305, allocations: 0 / 290.1 MB, free: 20.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1305, allocations: 0.6562 kB / 290.1 MB, free: 20.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1305, allocations: 1.188 kB / 290.1 MB, free: 20.46 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004282/0.1309, allocations: 423.1 kB / 290.5 MB, free: 20.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.1309, allocations: 9.25 kB / 290.5 MB, free: 20.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.131, allocations: 28.77 kB / 290.5 MB, free: 20.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.1312, allocations: 181.5 kB / 290.7 MB, free: 19.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1312, allocations: 9.859 kB / 290.7 MB, free: 19.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.1312, allocations: 15.94 kB / 290.7 MB, free: 19.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1314, allocations: 132.5 kB / 290.9 MB, free: 19.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1314, allocations: 9.094 kB / 290.9 MB, free: 19.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1314, allocations: 2.641 kB / 290.9 MB, free: 19.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.1314, allocations: 3.797 kB / 290.9 MB, free: 19.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.613e-05/0.1315, allocations: 38.62 kB / 290.9 MB, free: 19.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.1319, allocations: 425.1 kB / 291.3 MB, free: 19.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.132, allocations: 106.6 kB / 291.4 MB, free: 19.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.103e-05/0.1321, allocations: 17.31 kB / 291.5 MB, free: 19.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.1321, allocations: 3.609 kB / 291.5 MB, free: 19.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.1322, allocations: 73.59 kB / 291.5 MB, free: 19.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.1322, allocations: 0 / 291.5 MB, free: 19.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001586/0.1324, allocations: 86.41 kB / 291.6 MB, free: 19.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.1324, allocations: 58.14 kB / 291.7 MB, free: 19.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.1325, allocations: 228.2 kB / 291.9 MB, free: 19.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.1325, allocations: 30.86 kB / 291.9 MB, free: 19.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.1326, allocations: 132.3 kB / 292.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1326, allocations: 35.02 kB / 292.1 MB, free: 18.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.1327, allocations: 35.34 kB / 292.1 MB, free: 18.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.1327, allocations: 329.3 kB / 292.5 MB, free: 18.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/0.1327, allocations: 17.62 kB / 292.5 MB, free: 18.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.1328, allocations: 51.97 kB / 292.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.201e-05/0.1329, allocations: 83.05 kB / 292.6 MB, free: 18.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1329, allocations: 1.156 kB / 292.6 MB, free: 18.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001188/0.133, allocations: 95.27 kB / 292.7 MB, free: 18.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.133, allocations: 5.438 kB / 292.7 MB, free: 18.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.133, allocations: 6.734 kB / 292.7 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.133, allocations: 1.094 kB / 292.7 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.1332, allocations: 40.61 kB / 292.7 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.1332, allocations: 1.938 kB / 292.8 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.1332, allocations: 13.64 kB / 292.8 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.1332, allocations: 4.312 kB / 292.8 MB, free: 18.4 MB / 266.7 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 5.768e-05/0.1333, allocations: 125.2 kB / 292.9 MB, free: 18.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.1333, allocations: 17.62 kB / 292.9 MB, free: 18.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.1334, allocations: 91.28 kB / 293 MB, free: 18.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.1334, allocations: 2.125 kB / 293 MB, free: 18.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1334, allocations: 0 / 293 MB, free: 18.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1334, allocations: 1.641 kB / 293 MB, free: 18.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.1335, allocations: 112.3 kB / 293.1 MB, free: 18.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1335, allocations: 0 / 293.1 MB, free: 18.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.375e-05/0.1336, allocations: 25.86 kB / 293.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1336, allocations: 5.188 kB / 293.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1336, allocations: 0.75 kB / 293.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1336, allocations: 5.75 kB / 293.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1336, allocations: 0.6875 kB / 293.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.1338, allocations: 132.9 kB / 293.3 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.1338, allocations: 22.36 kB / 293.3 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.1338, allocations: 5.688 kB / 293.3 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.972e-05/0.1338, allocations: 7.562 kB / 293.3 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.1339, allocations: 6.828 kB / 293.3 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.1339, allocations: 3.078 kB / 293.3 MB, free: 18.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.786e-05/0.134, allocations: 87.67 kB / 293.4 MB, free: 17.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.134, allocations: 0 / 293.4 MB, free: 17.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.1341, allocations: 44 kB / 293.5 MB, free: 17.97 MB / 266.7 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.001055/0.1352, allocations: 0.5129 MB / 294 MB, free: 17.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.1353, allocations: 56.5 kB / 294 MB, free: 17.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.1353, allocations: 1.344 kB / 294 MB, free: 17.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.934e-05/0.1353, allocations: 26.7 kB / 294 MB, free: 17.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.1355, allocations: 43.58 kB / 294.1 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008094/0.1363, allocations: 425.4 kB / 294.5 MB, free: 17.53 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.341e-05/0.1363, allocations: 87.94 kB / 294.6 MB, free: 17.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.237e-05/0.1364, allocations: 19.86 kB / 294.6 MB, free: 17.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.606e-05/0.1365, allocations: 74.44 kB / 294.7 MB, free: 17.4 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1365, allocations: 0 / 294.7 MB, free: 17.4 MB / 266.7 MB Notification: Performance of Templates: time 0.005528/0.142, allocations: 2.388 MB / 297.1 MB, free: 16.92 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.Drive.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.561847573146224]