Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/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 ModelicaByExample with version 0.5.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/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 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(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant") translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 178.2 kB / 15.43 MB, free: 5.762 MB / 13.93 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.53/1.53, allocations: 225.7 MB / 241.9 MB, free: 408 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03814/0.03814, allocations: 8.476 MB / 301.4 MB, free: 5.645 MB / 234.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.0007451/0.0007455, allocations: 104.6 kB / 354.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 9.844 kB / 417.2 MB, free: 89.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0884/0.08877, allocations: 52.13 MB / 469.3 MB, free: 42.17 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.001471/0.09028, allocations: 1.552 MB / 470.8 MB, free: 40.61 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002482/0.09055, allocations: 143.5 kB / 471 MB, free: 40.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.09061, allocations: 4 kB / 471 MB, free: 40.46 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.09066, allocations: 15.86 kB / 471 MB, free: 40.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.871e-05/0.09074, allocations: 31.75 kB / 471 MB, free: 40.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.09088, allocations: 35.91 kB / 471.1 MB, free: 40.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.09101, allocations: 167.2 kB / 471.2 MB, free: 40.21 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.09117, allocations: 70.3 kB / 471.3 MB, free: 40.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.09122, allocations: 47.86 kB / 471.3 MB, free: 40.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.815e-05/0.0913, allocations: 67.64 kB / 471.4 MB, free: 40.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.09133, allocations: 12 kB / 471.4 MB, free: 40.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.31e-05/0.09136, allocations: 8 kB / 471.4 MB, free: 40.01 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.572e-05/0.09139, allocations: 27.91 kB / 471.5 MB, free: 39.98 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.09146, allocations: 93.38 kB / 471.6 MB, free: 39.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.0916, allocations: 191.5 kB / 471.7 MB, free: 39.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.09161, allocations: 0 / 471.7 MB, free: 39.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09162, allocations: 0 / 471.7 MB, free: 39.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.09163, allocations: 4 kB / 471.7 MB, free: 39.69 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0004112/0.09205, allocations: 419 kB / 472.2 MB, free: 39.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.09208, allocations: 11.97 kB / 472.2 MB, free: 39.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.09213, allocations: 16.75 kB / 472.2 MB, free: 39.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.678e-05/0.09222, allocations: 184.2 kB / 472.4 MB, free: 38.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.09224, allocations: 20.36 kB / 472.4 MB, free: 38.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.09228, allocations: 16.38 kB / 472.4 MB, free: 38.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.0925, allocations: 154.1 kB / 472.5 MB, free: 38.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.09252, allocations: 4.094 kB / 472.6 MB, free: 38.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.09254, allocations: 15.94 kB / 472.6 MB, free: 38.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.09255, allocations: 7.984 kB / 472.6 MB, free: 38.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.09271, allocations: 99.91 kB / 472.7 MB, free: 38.67 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007524/0.09346, allocations: 0.687 MB / 473.4 MB, free: 37.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.09379, allocations: 219.6 kB / 473.6 MB, free: 37.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.09395, allocations: 100.8 kB / 473.7 MB, free: 37.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.09397, allocations: 0 / 473.7 MB, free: 37.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.09399, allocations: 30.56 kB / 473.7 MB, free: 37.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 9.32e-07/0.094, allocations: 0 / 473.7 MB, free: 37.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006161/0.09462, allocations: 485.8 kB / 474.2 MB, free: 37 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/0.09465, allocations: 63.41 kB / 474.2 MB, free: 36.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.752e-05/0.09472, allocations: 117.7 kB / 474.4 MB, free: 36.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.09473, allocations: 29.7 kB / 474.4 MB, free: 36.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.09477, allocations: 132.1 kB / 474.5 MB, free: 36.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.09481, allocations: 63.09 kB / 474.6 MB, free: 36.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/0.09482, allocations: 0 / 474.6 MB, free: 36.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.5e-05/0.09487, allocations: 330.8 kB / 474.9 MB, free: 36.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.09493, allocations: 35.98 kB / 474.9 MB, free: 36.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.4e-05/0.09501, allocations: 92.62 kB / 475 MB, free: 36.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.09515, allocations: 145 kB / 475.2 MB, free: 35.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.09515, allocations: 0 / 475.2 MB, free: 35.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001936/0.09535, allocations: 176 kB / 475.3 MB, free: 35.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.09537, allocations: 4 kB / 475.3 MB, free: 35.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.09538, allocations: 0 / 475.3 MB, free: 35.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.0954, allocations: 4 kB / 475.3 MB, free: 35.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.09556, allocations: 51.91 kB / 475.4 MB, free: 35.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.09558, allocations: 4.156 kB / 475.4 MB, free: 35.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.215e-05/0.09564, allocations: 15.94 kB / 475.4 MB, free: 35.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.09565, allocations: 4 kB / 475.4 MB, free: 35.68 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (25): * Single equations (assignments): 25 * 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 6.968e-05/0.09572, allocations: 129.8 kB / 475.5 MB, free: 35.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.09576, allocations: 15.83 kB / 475.6 MB, free: 35.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.0958, allocations: 16.83 kB / 475.6 MB, free: 35.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.0958, allocations: 4 kB / 475.6 MB, free: 35.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.09581, allocations: 0 / 475.6 MB, free: 35.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.09582, allocations: 3.938 kB / 475.6 MB, free: 35.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.09626, allocations: 498.2 kB / 476.1 MB, free: 34.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.09627, allocations: 0 / 476.1 MB, free: 34.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.09644, allocations: 39.92 kB / 476.1 MB, free: 34.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.09645, allocations: 0 / 476.1 MB, free: 34.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.09647, allocations: 4 kB / 476.1 MB, free: 34.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.09648, allocations: 11.98 kB / 476.1 MB, free: 34.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.09648, allocations: 0 / 476.1 MB, free: 34.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.09672, allocations: 275.2 kB / 476.4 MB, free: 34.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/0.09676, allocations: 88.95 kB / 476.5 MB, free: 34.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.09678, allocations: 0 / 476.5 MB, free: 34.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.09685, allocations: 12 kB / 476.5 MB, free: 34.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.09688, allocations: 8.031 kB / 476.5 MB, free: 34.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.09689, allocations: 0 / 476.5 MB, free: 34.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.907e-05/0.09692, allocations: 103.2 kB / 476.6 MB, free: 34.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09693, allocations: 0 / 476.6 MB, free: 34.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002554/0.09719, allocations: 36 kB / 476.6 MB, free: 34.36 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertia2.flange_a.phi,inertia2.w,inertia1.flange_a.phi,inertia1.w) * 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 (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 Backend phase and start with SimCode phase: time 7.185e-05/0.09727, allocations: 111.1 kB / 476.7 MB, free: 34.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.09744, allocations: 107.9 kB / 476.8 MB, free: 34.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.09745, allocations: 4 kB / 476.9 MB, free: 34.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.475e-05/0.09751, allocations: 56.16 kB / 476.9 MB, free: 34.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.09772, allocations: 19.94 kB / 476.9 MB, free: 34.06 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007234/0.09845, allocations: 0.6527 MB / 477.6 MB, free: 33.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.09858, allocations: 0.7204 MB / 478.3 MB, free: 32.63 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.106e-05/0.09863, allocations: 13.08 kB / 478.3 MB, free: 32.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.09867, allocations: 15.44 kB / 478.3 MB, free: 32.6 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.09867, allocations: 0 / 478.3 MB, free: 32.6 MB / 330.7 MB Notification: Performance of Templates: time 0.002621/0.1013, allocations: 0.9157 MB / 479.2 MB, free: 31.69 MB / 330.7 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.makefile (rm -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.sim & ./ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe 2>&1)