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.001417/0.001417, allocations: 81.14 kB / 19.87 MB, free: 4.625 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.9656/0.9656, allocations: 177.1 MB / 200.3 MB, free: 5.438 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.001266/0.001266, allocations: 159.4 kB / 256.9 MB, free: 12.87 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.04926/0.04926, allocations: 6.665 MB / 320.1 MB, free: 26.39 MB / 266.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.453e-06/1.453e-06, allocations: 0 / 392.1 MB, free: 2.328 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092e-05/1.237e-05, allocations: 2.312 kB / 392.1 MB, free: 2.324 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.002261/0.002274, allocations: 2.101 MB / 394.2 MB, free: 212 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.003634, allocations: 1.083 MB / 395.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.003763, allocations: 7.938 kB / 395.3 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003464/0.004109, allocations: 119.5 kB / 395.4 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.004428, allocations: 163.2 kB / 395.5 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.004639, allocations: 111.5 kB / 395.6 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.004871, allocations: 227.1 kB / 395.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.004975, allocations: 37.78 kB / 395.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.005099, allocations: 127.7 kB / 396 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.005227, allocations: 103.7 kB / 396.1 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.005246, allocations: 12 kB / 396.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-05/0.005327, allocations: 51.92 kB / 396.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.00538, allocations: 51.77 kB / 396.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.005427, allocations: 59.84 kB / 396.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.005635, allocations: 175.3 kB / 396.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.005637, allocations: 4 kB / 396.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005638, allocations: 3.938 kB / 396.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.005642, allocations: 0 / 396.5 MB, free: 13.89 MB / 330.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.0005002/0.006142, allocations: 0.5385 MB / 397 MB, free: 13.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.006182, allocations: 8.031 kB / 397 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.006234, allocations: 32.8 kB / 397 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.006431, allocations: 201 kB / 397.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.006451, allocations: 8.609 kB / 397.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.006481, allocations: 12.33 kB / 397.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.006663, allocations: 128.4 kB / 397.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.006676, allocations: 7.938 kB / 397.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.006687, allocations: 7.984 kB / 397.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.006695, allocations: 4 kB / 397.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.583e-05/0.006751, allocations: 36.59 kB / 397.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.007268, allocations: 0.576 MB / 398 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.007369, allocations: 83.09 kB / 398.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.007398, allocations: 27.67 kB / 398.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.007413, allocations: 0 / 398.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.827e-05/0.007501, allocations: 69.03 kB / 398.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 9.81e-07/0.007502, allocations: 3.938 kB / 398.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001834/0.007685, allocations: 117.5 kB / 398.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.007709, allocations: 55.41 kB / 398.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.007847, allocations: 284.2 kB / 398.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.00786, allocations: 33.7 kB / 398.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.007939, allocations: 202.9 kB / 398.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.007962, allocations: 31.73 kB / 398.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.008001, allocations: 39.34 kB / 398.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.008125, allocations: 0.504 MB / 399.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/0.008147, allocations: 15.98 kB / 399.5 MB, free: 10.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-05/0.00819, allocations: 66.39 kB / 399.5 MB, free: 10.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/0.008262, allocations: 86.36 kB / 399.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.008264, allocations: 0 / 399.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001149/0.008379, allocations: 121.4 kB / 399.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.008393, allocations: 15.88 kB / 399.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.008397, allocations: 0 / 399.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.008408, allocations: 0 / 399.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.578e-05/0.008494, allocations: 31.92 kB / 399.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.008497, allocations: 0 / 399.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.008542, allocations: 24 kB / 399.8 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.008548, allocations: 4 kB / 399.8 MB, free: 10.28 MB / 330.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 7.051e-05/0.008619, allocations: 160.6 kB / 400 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.008637, allocations: 19.91 kB / 400 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.008764, allocations: 115.3 kB / 400.1 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.008767, allocations: 4 kB / 400.1 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.008768, allocations: 0 / 400.1 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.008772, allocations: 3.984 kB / 400.1 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.008875, allocations: 153.1 kB / 400.3 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008877, allocations: 0 / 400.3 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.692e-05/0.008934, allocations: 23.98 kB / 400.3 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.008936, allocations: 3.938 kB / 400.3 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.008944, allocations: 4 kB / 400.3 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008945, allocations: 4 kB / 400.3 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.008948, allocations: 3.938 kB / 400.3 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.009099, allocations: 164.2 kB / 400.5 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.009114, allocations: 15.86 kB / 400.5 MB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.009128, allocations: 4 kB / 400.5 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.699e-05/0.009155, allocations: 4 kB / 400.5 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.009176, allocations: 11.95 kB / 400.5 MB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.009188, allocations: 8 kB / 400.5 MB, free: 9.527 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.419e-05/0.009262, allocations: 197.1 kB / 400.7 MB, free: 9.336 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009262, allocations: 0 / 400.7 MB, free: 9.336 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001559/0.009418, allocations: 47.83 kB / 400.7 MB, free: 9.289 MB / 330.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.0007835/0.0102, allocations: 384 kB / 401.1 MB, free: 9.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.01031, allocations: 71.5 kB / 401.2 MB, free: 8.945 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.01031, allocations: 0 / 401.2 MB, free: 8.945 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.791e-05/0.01035, allocations: 35.83 kB / 401.2 MB, free: 8.906 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.01054, allocations: 42.36 kB / 401.3 MB, free: 8.871 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007048/0.01124, allocations: 450.4 kB / 401.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.599e-05/0.01129, allocations: 83.75 kB / 401.8 MB, free: 8.301 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.997e-05/0.01134, allocations: 25.41 kB / 401.8 MB, free: 8.273 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.437e-05/0.01143, allocations: 102.2 kB / 401.9 MB, free: 8.172 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01143, allocations: 0 / 401.9 MB, free: 8.172 MB / 330.7 MB Notification: Performance of Templates: time 0.004424/0.01586, allocations: 2.348 MB / 404.3 MB, free: 5.855 MB / 330.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.1910188058391213]