Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.Drive.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") translateModel(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 175.7 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo): time 0.06232/0.06232, allocations: 8.923 MB / 25.1 MB, free: 3.621 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 225.7 MB / 253.7 MB, free: 5.234 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009757/0.000976, allocations: 94.89 kB / 307 MB, free: 2.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003439, allocations: 8 kB / 370.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2531, allocations: 52.55 MB / 422.8 MB, free: 47.88 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.002426/0.2556, allocations: 1.699 MB / 424.5 MB, free: 46.67 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.2571, allocations: 0.9686 MB / 425.5 MB, free: 45.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.2573, allocations: 9.594 kB / 425.5 MB, free: 45.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003848/0.2577, allocations: 109.4 kB / 425.6 MB, free: 45.94 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.258, allocations: 107.7 kB / 425.7 MB, free: 45.89 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.2584, allocations: 110.2 kB / 425.8 MB, free: 45.84 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.2588, allocations: 214.8 kB / 426 MB, free: 45.74 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.2589, allocations: 37.36 kB / 426.1 MB, free: 45.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.2591, allocations: 88.31 kB / 426.2 MB, free: 45.69 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.2593, allocations: 105.5 kB / 426.3 MB, free: 45.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.2594, allocations: 5.5 kB / 426.3 MB, free: 45.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.2595, allocations: 39.52 kB / 426.3 MB, free: 45.65 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.267e-05/0.2596, allocations: 40.34 kB / 426.4 MB, free: 45.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.2597, allocations: 106.2 kB / 426.5 MB, free: 45.55 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.2601, allocations: 220.6 kB / 426.7 MB, free: 45.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2601, allocations: 1 kB / 426.7 MB, free: 45.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2601, allocations: 0 / 426.7 MB, free: 45.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.2601, allocations: 0 / 426.7 MB, free: 45.47 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.0006837/0.2608, allocations: 474.4 kB / 427.1 MB, free: 45.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2608, allocations: 9.531 kB / 427.1 MB, free: 45.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/0.2609, allocations: 27.97 kB / 427.2 MB, free: 45.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.2612, allocations: 244.1 kB / 427.4 MB, free: 44.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.2612, allocations: 8.922 kB / 427.4 MB, free: 44.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.2613, allocations: 22.17 kB / 427.4 MB, free: 44.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.2615, allocations: 137.2 kB / 427.6 MB, free: 44.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.2616, allocations: 1.719 kB / 427.6 MB, free: 44.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.2616, allocations: 5.125 kB / 427.6 MB, free: 44.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.2616, allocations: 5.062 kB / 427.6 MB, free: 44.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.2618, allocations: 71.75 kB / 427.7 MB, free: 44.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007774/0.2626, allocations: 0.6205 MB / 428.3 MB, free: 44.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.2628, allocations: 93.12 kB / 428.4 MB, free: 44.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.526e-05/0.2629, allocations: 36.89 kB / 428.4 MB, free: 44.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.2629, allocations: 5.516 kB / 428.4 MB, free: 44.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.2631, allocations: 92.2 kB / 428.5 MB, free: 44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.2632, allocations: 0 / 428.5 MB, free: 44 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003537/0.2635, allocations: 153.6 kB / 428.7 MB, free: 43.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.2635, allocations: 53.94 kB / 428.7 MB, free: 43.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.2638, allocations: 272.5 kB / 429 MB, free: 43.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.2638, allocations: 25.7 kB / 429 MB, free: 43.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.723e-05/0.2639, allocations: 144.4 kB / 429.1 MB, free: 43.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.264, allocations: 30.55 kB / 429.2 MB, free: 43.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.264, allocations: 1.375 kB / 429.2 MB, free: 43.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.788e-05/0.264, allocations: 338.7 kB / 429.5 MB, free: 43.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.2641, allocations: 34.73 kB / 429.5 MB, free: 43.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.888e-05/0.2642, allocations: 63.16 kB / 429.6 MB, free: 43.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.2644, allocations: 102.1 kB / 429.7 MB, free: 43.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2644, allocations: 1.375 kB / 429.7 MB, free: 43.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002382/0.2646, allocations: 142.2 kB / 429.8 MB, free: 42.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2646, allocations: 5.5 kB / 429.8 MB, free: 42.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2647, allocations: 2.125 kB / 429.8 MB, free: 42.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2647, allocations: 2.75 kB / 429.8 MB, free: 42.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.2648, allocations: 29.27 kB / 429.9 MB, free: 42.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.2648, allocations: 3.406 kB / 429.9 MB, free: 42.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.074e-05/0.2649, allocations: 20.73 kB / 429.9 MB, free: 42.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.2649, allocations: 8.875 kB / 429.9 MB, free: 42.96 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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.000102/0.2651, allocations: 149.1 kB / 430.1 MB, free: 42.83 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.2651, allocations: 16.58 kB / 430.1 MB, free: 42.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.2651, allocations: 23.09 kB / 430.1 MB, free: 42.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2652, allocations: 1.375 kB / 430.1 MB, free: 42.81 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2652, allocations: 0.75 kB / 430.1 MB, free: 42.81 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2652, allocations: 1.375 kB / 430.1 MB, free: 42.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.2653, allocations: 255 kB / 430.3 MB, free: 42.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2654, allocations: 1.375 kB / 430.3 MB, free: 42.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.2655, allocations: 20.61 kB / 430.4 MB, free: 42.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2655, allocations: 3.984 kB / 430.4 MB, free: 42.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.2655, allocations: 3.547 kB / 430.4 MB, free: 42.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2655, allocations: 0 / 430.4 MB, free: 42.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2655, allocations: 0.7031 kB / 430.4 MB, free: 42.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.2658, allocations: 189.8 kB / 430.6 MB, free: 42.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.2659, allocations: 104.1 kB / 430.7 MB, free: 42.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.2659, allocations: 2.391 kB / 430.7 MB, free: 42.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.169e-05/0.266, allocations: 3.672 kB / 430.7 MB, free: 42.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.266, allocations: 11.22 kB / 430.7 MB, free: 42.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.2661, allocations: 2.188 kB / 430.7 MB, free: 42.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001706/0.2662, allocations: 203.6 kB / 430.9 MB, free: 42.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2662, allocations: 0 / 430.9 MB, free: 42.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002507/0.2665, allocations: 43.27 kB / 430.9 MB, free: 42.21 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0008286/0.2673, allocations: 485.1 kB / 431.4 MB, free: 41.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.2676, allocations: 83.16 kB / 431.5 MB, free: 41.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2676, allocations: 0 / 431.5 MB, free: 41.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.45e-05/0.2677, allocations: 42.11 kB / 431.5 MB, free: 41.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.268, allocations: 35.81 kB / 431.5 MB, free: 41.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000904/0.2689, allocations: 0.5986 MB / 432.1 MB, free: 41.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.2691, allocations: 0.7378 MB / 432.9 MB, free: 40.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.486e-05/0.2692, allocations: 16.61 kB / 432.9 MB, free: 40.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.2692, allocations: 17.61 kB / 432.9 MB, free: 40.78 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2693, allocations: 0 / 432.9 MB, free: 40.78 MB / 330.7 MB Notification: Performance of Templates: time 0.00714/0.2764, allocations: 1.902 MB / 434.8 MB, free: 40.57 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.Rotational.Drive.makefile (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 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.Drive.pipe 2>&1)