Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009085/0.0009085, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.6 MB / 223.7 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007978/0.0007979, allocations: 86.44 kB / 272.1 MB, free: 8.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002599/0.0002601, allocations: 4 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2087, allocations: 47.59 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002123/0.2108, allocations: 1.632 MB / 378.2 MB, free: 44.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008814/0.2117, allocations: 0.5137 MB / 378.7 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.2119, allocations: 2.5 kB / 378.7 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.2121, allocations: 22.31 kB / 378.8 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.2122, allocations: 28.47 kB / 378.8 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.2124, allocations: 29.47 kB / 378.8 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.2127, allocations: 145.9 kB / 379 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.2128, allocations: 53.84 kB / 379 MB, free: 43.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.213, allocations: 55.03 kB / 379.1 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.2131, allocations: 57.34 kB / 379.1 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.2132, allocations: 11.41 kB / 379.1 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.055e-05/0.2132, allocations: 7.75 kB / 379.2 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.2133, allocations: 28.62 kB / 379.2 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.249e-05/0.2134, allocations: 90.14 kB / 379.3 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.2136, allocations: 152.4 kB / 379.4 MB, free: 43.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2136, allocations: 0 / 379.4 MB, free: 43.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2136, allocations: 0.9688 kB / 379.4 MB, free: 43.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.2136, allocations: 0 / 379.4 MB, free: 43.41 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.0005445/0.2142, allocations: 412.3 kB / 379.8 MB, free: 43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2142, allocations: 8.938 kB / 379.8 MB, free: 43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.2143, allocations: 17.25 kB / 379.8 MB, free: 42.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.2145, allocations: 205.6 kB / 380 MB, free: 42.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.2145, allocations: 14.78 kB / 380.1 MB, free: 42.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.2146, allocations: 15.22 kB / 380.1 MB, free: 42.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.2149, allocations: 158.2 kB / 380.2 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.2149, allocations: 3.906 kB / 380.2 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.2149, allocations: 6.5 kB / 380.2 MB, free: 42.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.2149, allocations: 2.844 kB / 380.2 MB, free: 42.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.2151, allocations: 96.72 kB / 380.3 MB, free: 42.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007531/0.2159, allocations: 0.5308 MB / 380.9 MB, free: 42.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.2161, allocations: 80.08 kB / 380.9 MB, free: 42.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.422e-05/0.2162, allocations: 27.89 kB / 381 MB, free: 42.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.2162, allocations: 0.9688 kB / 381 MB, free: 42.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.2162, allocations: 35.83 kB / 381 MB, free: 41.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.2162, allocations: 0 / 381 MB, free: 41.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009541/0.2172, allocations: 0.6059 MB / 381.6 MB, free: 41.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.2172, allocations: 56.59 kB / 381.7 MB, free: 41.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.2173, allocations: 132.8 kB / 381.8 MB, free: 41.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.2174, allocations: 29.7 kB / 381.8 MB, free: 41.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.2174, allocations: 137.7 kB / 382 MB, free: 41.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.2175, allocations: 41.94 kB / 382 MB, free: 41.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.2175, allocations: 4 kB / 382 MB, free: 41.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.372e-05/0.2175, allocations: 318.8 kB / 382.3 MB, free: 40.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.2176, allocations: 30.86 kB / 382.4 MB, free: 40.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.2178, allocations: 93.62 kB / 382.4 MB, free: 40.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.2181, allocations: 138.3 kB / 382.6 MB, free: 40.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2181, allocations: 0 / 382.6 MB, free: 40.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002731/0.2184, allocations: 157.2 kB / 382.7 MB, free: 40.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.2184, allocations: 13.33 kB / 382.7 MB, free: 40.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.2184, allocations: 2.656 kB / 382.7 MB, free: 40.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.2185, allocations: 2.812 kB / 382.7 MB, free: 40.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.2186, allocations: 36.48 kB / 382.8 MB, free: 40.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2186, allocations: 11.38 kB / 382.8 MB, free: 40.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.549e-05/0.2187, allocations: 9 kB / 382.8 MB, free: 40.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.2188, allocations: 6.438 kB / 382.8 MB, free: 40.39 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.7e-05/0.2188, allocations: 127.7 kB / 382.9 MB, free: 40.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.2189, allocations: 12.33 kB / 382.9 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.2189, allocations: 14.97 kB / 383 MB, free: 40.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2189, allocations: 1.531 kB / 383 MB, free: 40.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.2189, allocations: 3.938 kB / 383 MB, free: 40.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2189, allocations: 7.969 kB / 383 MB, free: 40.24 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.2194, allocations: 448.2 kB / 383.4 MB, free: 39.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2194, allocations: 1.469 kB / 383.4 MB, free: 39.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.2195, allocations: 33.58 kB / 383.4 MB, free: 39.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2195, allocations: 0 / 383.4 MB, free: 39.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.2196, allocations: 6.906 kB / 383.5 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2196, allocations: 0 / 383.5 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2196, allocations: 1.062 kB / 383.5 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.2199, allocations: 262.3 kB / 383.7 MB, free: 39.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.2199, allocations: 83.45 kB / 383.8 MB, free: 39.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.2199, allocations: 2.125 kB / 383.8 MB, free: 39.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.22, allocations: 11.84 kB / 383.8 MB, free: 39.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.2201, allocations: 7.641 kB / 383.8 MB, free: 39.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.2201, allocations: 2.844 kB / 383.8 MB, free: 39.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.127e-05/0.2201, allocations: 98.52 kB / 383.9 MB, free: 39.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2201, allocations: 0 / 383.9 MB, free: 39.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.2204, allocations: 27.5 kB / 383.9 MB, free: 39.39 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 0.0001114/0.2205, allocations: 102.1 kB / 384 MB, free: 39.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.2208, allocations: 97.34 kB / 384.1 MB, free: 39.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2208, allocations: 0 / 384.1 MB, free: 39.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.662e-05/0.2209, allocations: 36.77 kB / 384.2 MB, free: 39.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.2212, allocations: 21.86 kB / 384.2 MB, free: 39.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006508/0.2218, allocations: 0.5298 MB / 384.7 MB, free: 38.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.222, allocations: 0.7103 MB / 385.4 MB, free: 38.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.222, allocations: 15.09 kB / 385.4 MB, free: 38.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.2221, allocations: 17.41 kB / 385.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2221, allocations: 0 / 385.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of Templates: time 0.002886/0.225, allocations: 0.7928 MB / 386.3 MB, free: 37.66 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches