Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009243/0.0009244, allocations: 201.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.261/1.261, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000735/0.000735, allocations: 101.8 kB / 299.8 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002049/0.000205, allocations: 8 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2518, allocations: 51.41 MB / 412 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002131/0.254, allocations: 1.643 MB / 413.7 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009736/0.255, allocations: 0.7476 MB / 414.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.2551, allocations: 1.25 kB / 414.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.979e-05/0.2552, allocations: 19.84 kB / 414.5 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.478e-05/0.2553, allocations: 27.77 kB / 414.5 MB, free: 23.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.2556, allocations: 43.12 kB / 414.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.2557, allocations: 135.5 kB / 414.7 MB, free: 23.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.2559, allocations: 59.22 kB / 414.7 MB, free: 23.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.2561, allocations: 59.78 kB / 414.8 MB, free: 23.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.2562, allocations: 59.69 kB / 414.8 MB, free: 23.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.2562, allocations: 8 kB / 414.8 MB, free: 23.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.522e-05/0.2563, allocations: 12.72 kB / 414.9 MB, free: 23.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.2563, allocations: 23.77 kB / 414.9 MB, free: 23.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.763e-05/0.2564, allocations: 93.31 kB / 415 MB, free: 22.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.2566, allocations: 160.9 kB / 415.1 MB, free: 22.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2567, allocations: 3.938 kB / 415.1 MB, free: 22.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2567, allocations: 0 / 415.1 MB, free: 22.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.2567, allocations: 0 / 415.1 MB, free: 22.77 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005465/0.2572, allocations: 422.8 kB / 415.5 MB, free: 22.31 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2573, allocations: 12.03 kB / 415.6 MB, free: 22.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.2575, allocations: 28.73 kB / 415.6 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.2577, allocations: 196.1 kB / 415.8 MB, free: 22.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.2577, allocations: 16.38 kB / 415.8 MB, free: 22.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.2577, allocations: 16.38 kB / 415.8 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.2581, allocations: 138.6 kB / 415.9 MB, free: 21.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.2581, allocations: 0 / 415.9 MB, free: 21.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.2581, allocations: 4 kB / 415.9 MB, free: 21.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.2581, allocations: 8 kB / 416 MB, free: 21.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.2583, allocations: 103.4 kB / 416.1 MB, free: 21.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/0.2591, allocations: 0.5328 MB / 416.6 MB, free: 21.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.2593, allocations: 82.47 kB / 416.7 MB, free: 21.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/0.2594, allocations: 32.84 kB / 416.7 MB, free: 21.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.2594, allocations: 4 kB / 416.7 MB, free: 21.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.2594, allocations: 38.56 kB / 416.7 MB, free: 20.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.2594, allocations: 0 / 416.7 MB, free: 20.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.001012/0.2605, allocations: 0.6139 MB / 417.4 MB, free: 20.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.2605, allocations: 55.34 kB / 417.4 MB, free: 20.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.207e-05/0.2606, allocations: 134.2 kB / 417.5 MB, free: 20.08 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.2606, allocations: 25.7 kB / 417.6 MB, free: 20.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.2607, allocations: 128 kB / 417.7 MB, free: 19.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.2607, allocations: 43.45 kB / 417.7 MB, free: 19.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.2607, allocations: 0 / 417.7 MB, free: 19.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.2608, allocations: 322.8 kB / 418.1 MB, free: 19.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.635e-05/0.2609, allocations: 27.98 kB / 418.1 MB, free: 19.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.261, allocations: 94.84 kB / 418.2 MB, free: 19.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.2613, allocations: 131.8 kB / 418.3 MB, free: 19.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2613, allocations: 4 kB / 418.3 MB, free: 19.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003193/0.2616, allocations: 153.4 kB / 418.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2616, allocations: 4 kB / 418.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2616, allocations: 4.219 kB / 418.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2617, allocations: 11.94 kB / 418.5 MB, free: 19.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.2619, allocations: 35.98 kB / 418.5 MB, free: 19.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2619, allocations: 3.938 kB / 418.5 MB, free: 19.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.262, allocations: 15.89 kB / 418.5 MB, free: 19.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.262, allocations: 8 kB / 418.5 MB, free: 19.01 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.994e-05/0.2621, allocations: 133.7 kB / 418.7 MB, free: 18.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.2622, allocations: 7.906 kB / 418.7 MB, free: 18.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.2622, allocations: 12.38 kB / 418.7 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2622, allocations: 4 kB / 418.7 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2622, allocations: 3.938 kB / 418.7 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2623, allocations: 0 / 418.7 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/0.2628, allocations: 459.8 kB / 419.1 MB, free: 18.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2628, allocations: 0 / 419.1 MB, free: 18.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.263, allocations: 27.92 kB / 419.2 MB, free: 18.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.263, allocations: 4 kB / 419.2 MB, free: 18.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.2631, allocations: 8.031 kB / 419.2 MB, free: 18.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2631, allocations: 0 / 419.2 MB, free: 18.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2631, allocations: 7.984 kB / 419.2 MB, free: 18.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.2634, allocations: 257 kB / 419.4 MB, free: 18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/0.2635, allocations: 85.05 kB / 419.5 MB, free: 17.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.2635, allocations: 3.984 kB / 419.5 MB, free: 17.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.2637, allocations: 8 kB / 419.5 MB, free: 17.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.2637, allocations: 7.984 kB / 419.5 MB, free: 17.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.2637, allocations: 8.062 kB / 419.6 MB, free: 17.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.743e-05/0.2638, allocations: 99.34 kB / 419.6 MB, free: 17.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.022e-06/0.2638, allocations: 0 / 419.6 MB, free: 17.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003847/0.2642, allocations: 31.94 kB / 419.7 MB, free: 17.75 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * 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 (11): * Single equations (assignments): 11 * 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 8.548e-05/0.2643, allocations: 99.25 kB / 419.8 MB, free: 17.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.2645, allocations: 96.16 kB / 419.9 MB, free: 17.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2646, allocations: 4 kB / 419.9 MB, free: 17.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.2647, allocations: 48.12 kB / 419.9 MB, free: 17.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.2651, allocations: 11.94 kB / 419.9 MB, free: 17.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007639/0.2659, allocations: 0.527 MB / 420.5 MB, free: 16.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.266, allocations: 0.7082 MB / 421.2 MB, free: 16.19 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.732e-05/0.2661, allocations: 16.88 kB / 421.2 MB, free: 16.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.2661, allocations: 11.44 kB / 421.2 MB, free: 16.16 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2661, allocations: 0 / 421.2 MB, free: 16.16 MB / 298.7 MB Notification: Performance of Templates: time 0.003505/0.2696, allocations: 0.7904 MB / 422 MB, free: 15.38 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches