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.001393/0.001393, allocations: 69.98 kB / 20.65 MB, free: 3.848 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.9951/0.9951, allocations: 177.1 MB / 201 MB, free: 5.691 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.001228/0.001228, allocations: 148.7 kB / 257.7 MB, free: 12.97 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.02562/0.02562, allocations: 6.657 MB / 320.9 MB, free: 11.45 MB / 298.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.293e-06/1.293e-06, allocations: 0 / 392.9 MB, free: 3.391 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.053e-05, allocations: 5.969 kB / 392.9 MB, free: 3.387 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.002554/0.002575, allocations: 2.078 MB / 394.9 MB, free: 1.293 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.004198, allocations: 1.083 MB / 396 MB, free: 208 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.004352, allocations: 7.938 kB / 396 MB, free: 200 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.004698, allocations: 123.5 kB / 396.2 MB, free: 76 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000402/0.0051, allocations: 151.4 kB / 396.3 MB, free: 15.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.005612, allocations: 107.6 kB / 396.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.005872, allocations: 235 kB / 396.6 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.005983, allocations: 29.73 kB / 396.7 MB, free: 15.56 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.006126, allocations: 131.7 kB / 396.8 MB, free: 15.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.006268, allocations: 107.8 kB / 396.9 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.00629, allocations: 12 kB / 396.9 MB, free: 15.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.295e-05/0.006383, allocations: 55.91 kB / 397 MB, free: 15.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.006442, allocations: 47.78 kB / 397 MB, free: 15.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.006497, allocations: 55.84 kB / 397.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.00673, allocations: 175.4 kB / 397.2 MB, free: 14.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.006734, allocations: 0 / 397.2 MB, free: 14.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.006735, allocations: 3.938 kB / 397.2 MB, free: 14.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.006739, allocations: 3.938 kB / 397.2 MB, free: 14.98 MB / 378.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.0005562/0.007296, allocations: 0.5385 MB / 397.8 MB, free: 14.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.007329, allocations: 16.03 kB / 397.8 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.55e-05/0.007385, allocations: 36.75 kB / 397.8 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.00757, allocations: 193 kB / 398 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.007588, allocations: 8.609 kB / 398 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.007611, allocations: 12.38 kB / 398 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.007777, allocations: 140.3 kB / 398.2 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.007789, allocations: 3.938 kB / 398.2 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.007798, allocations: 0 / 398.2 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.007805, allocations: 4 kB / 398.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.576e-05/0.007861, allocations: 44.61 kB / 398.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.008371, allocations: 0.5644 MB / 398.8 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.008484, allocations: 83.09 kB / 398.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.008511, allocations: 19.67 kB / 398.9 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.008525, allocations: 4 kB / 398.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.927e-05/0.008624, allocations: 77.02 kB / 399 MB, free: 13.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.008625, allocations: 0 / 399 MB, free: 13.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001962/0.008822, allocations: 117.7 kB / 399.1 MB, free: 12.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.008851, allocations: 55.34 kB / 399.1 MB, free: 12.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.009001, allocations: 296.1 kB / 399.4 MB, free: 12.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.009015, allocations: 29.7 kB / 399.5 MB, free: 12.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.721e-05/0.009102, allocations: 194.9 kB / 399.7 MB, free: 12.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.009124, allocations: 31.69 kB / 399.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.009163, allocations: 39.34 kB / 399.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.009282, allocations: 0.5118 MB / 400.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.009306, allocations: 8 kB / 400.2 MB, free: 11.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.469e-05/0.009351, allocations: 62.41 kB / 400.3 MB, free: 11.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.29e-05/0.009424, allocations: 86.3 kB / 400.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.009426, allocations: 4 kB / 400.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001328/0.009558, allocations: 121.4 kB / 400.5 MB, free: 11.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.009571, allocations: 7.938 kB / 400.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.009576, allocations: 3.984 kB / 400.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.009586, allocations: 8.125 kB / 400.5 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.392e-05/0.009679, allocations: 35.86 kB / 400.6 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.009683, allocations: 3.984 kB / 400.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.009728, allocations: 15.89 kB / 400.6 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.009735, allocations: 4 kB / 400.6 MB, free: 11.36 MB / 378.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 8.051e-05/0.009816, allocations: 164.6 kB / 400.8 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.009838, allocations: 23.89 kB / 400.8 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.009987, allocations: 115.3 kB / 400.9 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.009989, allocations: 0 / 400.9 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.009991, allocations: 4 kB / 400.9 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.009994, allocations: 0 / 400.9 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.01011, allocations: 165 kB / 401.1 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.01011, allocations: 0 / 401.1 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.736e-05/0.01018, allocations: 16 kB / 401.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.01019, allocations: 4 kB / 401.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.01019, allocations: 0 / 401.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.0102, allocations: 3.984 kB / 401.1 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.0102, allocations: 7.875 kB / 401.1 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.01037, allocations: 164.2 kB / 401.2 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.01039, allocations: 15.94 kB / 401.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.0104, allocations: 4 kB / 401.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.252e-05/0.01044, allocations: 4 kB / 401.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.417e-05/0.01046, allocations: 7.922 kB / 401.3 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.01047, allocations: 7.984 kB / 401.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.423e-05/0.01056, allocations: 197.1 kB / 401.5 MB, free: 10.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01056, allocations: 0 / 401.5 MB, free: 10.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001775/0.01073, allocations: 43.89 kB / 401.5 MB, free: 10.36 MB / 378.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.0007693/0.0115, allocations: 387.4 kB / 401.9 MB, free: 10.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.01162, allocations: 67.52 kB / 402 MB, free: 9.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01162, allocations: 0 / 402 MB, free: 9.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.01166, allocations: 31.67 kB / 402 MB, free: 9.957 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.01186, allocations: 45.14 kB / 402 MB, free: 9.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.01261, allocations: 438.3 kB / 402.5 MB, free: 9.453 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.523e-05/0.01266, allocations: 83.81 kB / 402.5 MB, free: 9.352 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.321e-05/0.01271, allocations: 25.41 kB / 402.6 MB, free: 9.324 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.219e-05/0.01279, allocations: 94.19 kB / 402.7 MB, free: 9.23 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.0128, allocations: 0 / 402.7 MB, free: 9.23 MB / 378.7 MB Notification: Performance of Templates: time 0.004496/0.01729, allocations: 2.391 MB / 405.1 MB, free: 6.875 MB / 378.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 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.Drive.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.117290699388832]