Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.TestDCPMMachine.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.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") translateModel(HanserModelica.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 177.7 kB / 15.43 MB, free: 5.77 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.04305/0.04305, allocations: 8.92 MB / 25.1 MB, free: 3.59 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.354/1.354, allocations: 225.7 MB / 253.7 MB, free: 5.199 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.0007587/0.0007586, allocations: 96.81 kB / 307 MB, free: 2.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002987, allocations: 8 kB / 370.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.258, allocations: 52.56 MB / 422.8 MB, free: 47.87 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.002538/0.2606, allocations: 2.439 MB / 425.3 MB, free: 46.13 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008389/0.2615, allocations: 0.6215 MB / 425.9 MB, free: 45.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.2616, allocations: 9.281 kB / 425.9 MB, free: 45.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.2617, allocations: 38.67 kB / 425.9 MB, free: 45.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.262, allocations: 79.55 kB / 426 MB, free: 45.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.2621, allocations: 74.36 kB / 426.1 MB, free: 45.55 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.2624, allocations: 353.7 kB / 426.4 MB, free: 45.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.2626, allocations: 118.2 kB / 426.6 MB, free: 45.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.2628, allocations: 111.8 kB / 426.7 MB, free: 45.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.2629, allocations: 139.8 kB / 426.8 MB, free: 45.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.263, allocations: 16.31 kB / 426.8 MB, free: 45.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.561e-05/0.263, allocations: 17.41 kB / 426.8 MB, free: 45.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.2631, allocations: 51.17 kB / 426.9 MB, free: 45.17 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.2632, allocations: 173.7 kB / 427.1 MB, free: 45.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.2636, allocations: 383.6 kB / 427.4 MB, free: 44.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2636, allocations: 0.9375 kB / 427.4 MB, free: 44.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2636, allocations: 0 / 427.4 MB, free: 44.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.2636, allocations: 1.5 kB / 427.4 MB, free: 44.94 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0006803/0.2643, allocations: 0.5441 MB / 428 MB, free: 44.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.2643, allocations: 8.969 kB / 428 MB, free: 44.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.2644, allocations: 37.06 kB / 428 MB, free: 44.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.2647, allocations: 273 kB / 428.3 MB, free: 44.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.2647, allocations: 23.55 kB / 428.3 MB, free: 44.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/0.2648, allocations: 36.91 kB / 428.3 MB, free: 44.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005223/0.2653, allocations: 271.8 kB / 428.6 MB, free: 44.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.2653, allocations: 0.9688 kB / 428.6 MB, free: 44.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.2653, allocations: 18.81 kB / 428.6 MB, free: 44.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.2654, allocations: 7.969 kB / 428.6 MB, free: 44.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.2658, allocations: 218.4 kB / 428.9 MB, free: 43.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.2673, allocations: 1.053 MB / 429.9 MB, free: 43.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.2676, allocations: 160.2 kB / 430.1 MB, free: 43.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.2678, allocations: 80.09 kB / 430.1 MB, free: 43.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.2678, allocations: 5.312 kB / 430.1 MB, free: 43.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.2679, allocations: 40.64 kB / 430.2 MB, free: 43.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.2679, allocations: 0 / 430.2 MB, free: 43.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001239/0.2691, allocations: 0.713 MB / 430.9 MB, free: 42.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.2692, allocations: 54.91 kB / 430.9 MB, free: 42.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.2693, allocations: 200.5 kB / 431.1 MB, free: 42.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.2694, allocations: 30.86 kB / 431.2 MB, free: 42.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/0.2694, allocations: 181.6 kB / 431.4 MB, free: 42.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.2695, allocations: 59.59 kB / 431.4 MB, free: 42.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/0.2695, allocations: 5.219 kB / 431.4 MB, free: 42.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.38e-05/0.2695, allocations: 332.8 kB / 431.7 MB, free: 41.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.2697, allocations: 67.89 kB / 431.8 MB, free: 41.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.2699, allocations: 105.4 kB / 431.9 MB, free: 41.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.2702, allocations: 175.5 kB / 432.1 MB, free: 41.63 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2702, allocations: 0 / 432.1 MB, free: 41.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000422/0.2706, allocations: 247.7 kB / 432.3 MB, free: 41.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2707, allocations: 5.656 kB / 432.3 MB, free: 41.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.2707, allocations: 1.562 kB / 432.3 MB, free: 41.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00012/0.2708, allocations: 29.66 kB / 432.4 MB, free: 41.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.271, allocations: 43.06 kB / 432.4 MB, free: 41.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007158/0.2717, allocations: 1.274 MB / 433.7 MB, free: 40.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.2719, allocations: 14.23 kB / 433.7 MB, free: 40.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.2719, allocations: 14.97 kB / 433.7 MB, free: 40.17 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.272, allocations: 142.2 kB / 433.8 MB, free: 40.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.272, allocations: 17.22 kB / 433.9 MB, free: 40.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.2721, allocations: 27.95 kB / 433.9 MB, free: 40.01 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2721, allocations: 5.969 kB / 433.9 MB, free: 40 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2721, allocations: 1.891 kB / 433.9 MB, free: 40 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2721, allocations: 0.6562 kB / 433.9 MB, free: 40 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007753/0.2729, allocations: 0.626 MB / 434.5 MB, free: 39.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2729, allocations: 0.6562 kB / 434.5 MB, free: 39.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.2731, allocations: 42.97 kB / 434.6 MB, free: 39.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.437e-05/0.2732, allocations: 21.34 kB / 434.6 MB, free: 39.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.2732, allocations: 0.6094 kB / 434.6 MB, free: 39.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005765/0.2738, allocations: 1.275 MB / 435.9 MB, free: 38.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2738, allocations: 1.219 kB / 435.9 MB, free: 38.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.2744, allocations: 383.3 kB / 436.2 MB, free: 37.97 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.2744, allocations: 99.97 kB / 436.3 MB, free: 37.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.2744, allocations: 2.969 kB / 436.3 MB, free: 37.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.2746, allocations: 23.94 kB / 436.4 MB, free: 37.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.2747, allocations: 11.12 kB / 436.4 MB, free: 37.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.2747, allocations: 12.31 kB / 436.4 MB, free: 37.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.2748, allocations: 145.2 kB / 436.5 MB, free: 37.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2748, allocations: 0 / 436.5 MB, free: 37.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.2751, allocations: 52.84 kB / 436.6 MB, free: 37.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (machine.inductor.i,machine.inertia.w,load.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.339e-05/0.2752, allocations: 113 kB / 436.7 MB, free: 37.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005614/0.2758, allocations: 277.3 kB / 437 MB, free: 37.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2758, allocations: 0 / 437 MB, free: 37.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.2761, allocations: 201.5 kB / 437.2 MB, free: 37.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.2765, allocations: 32.91 kB / 437.2 MB, free: 37.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.2776, allocations: 0.8834 MB / 438.1 MB, free: 36.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.2778, allocations: 0.7579 MB / 438.8 MB, free: 36.03 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.41e-05/0.2779, allocations: 23.7 kB / 438.8 MB, free: 36.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.278, allocations: 16.41 kB / 438.9 MB, free: 36.01 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.278, allocations: 1.031 kB / 438.9 MB, free: 36.01 MB / 330.7 MB Notification: Performance of Templates: time 0.005373/0.2834, allocations: 2.083 MB / 441 MB, free: 35.37 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.makefile (rm -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe >> ../files/HanserModelica_HanserModelica.Rotational.TestDCPMMachine.sim & ./HanserModelica_HanserModelica.Rotational.TestDCPMMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe 2>&1)