Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/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_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008794/0.0008794, allocations: 178.7 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007649/0.000765, allocations: 93.27 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002819, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1947, allocations: 47.58 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.001805/0.1965, allocations: 1.624 MB / 376.2 MB, free: 44.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007429/0.1973, allocations: 0.5081 MB / 376.7 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1974, allocations: 6.688 kB / 376.7 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.399e-05/0.1975, allocations: 10.67 kB / 376.7 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.737e-05/0.1976, allocations: 26.52 kB / 376.7 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.1978, allocations: 34.62 kB / 376.8 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.1979, allocations: 131.2 kB / 376.9 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1981, allocations: 59.39 kB / 376.9 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1982, allocations: 46.72 kB / 377 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.368e-05/0.1983, allocations: 61.92 kB / 377.1 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.1983, allocations: 7.438 kB / 377.1 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.04e-05/0.1984, allocations: 11.06 kB / 377.1 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.1984, allocations: 20.11 kB / 377.1 MB, free: 43.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.1984, allocations: 54.61 kB / 377.1 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.1986, allocations: 119.1 kB / 377.3 MB, free: 43.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1986, allocations: 1.188 kB / 377.3 MB, free: 43.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1986, allocations: 0 / 377.3 MB, free: 43.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1986, allocations: 0 / 377.3 MB, free: 43.34 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.0004398/0.199, allocations: 417.7 kB / 377.7 MB, free: 42.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1991, allocations: 9.406 kB / 377.7 MB, free: 42.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.1991, allocations: 19.84 kB / 377.7 MB, free: 42.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.1993, allocations: 200.8 kB / 377.9 MB, free: 42.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.1993, allocations: 9.812 kB / 377.9 MB, free: 42.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.1994, allocations: 18.22 kB / 377.9 MB, free: 42.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.1996, allocations: 142.8 kB / 378.1 MB, free: 42.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1997, allocations: 5.031 kB / 378.1 MB, free: 42.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.1997, allocations: 5.156 kB / 378.1 MB, free: 42.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1997, allocations: 8.547 kB / 378.1 MB, free: 42.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.1999, allocations: 99.53 kB / 378.2 MB, free: 42.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006922/0.2006, allocations: 0.5382 MB / 378.7 MB, free: 42.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.2008, allocations: 76.36 kB / 378.8 MB, free: 41.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.432e-05/0.2008, allocations: 36.25 kB / 378.8 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.2009, allocations: 1.281 kB / 378.8 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.2009, allocations: 39.88 kB / 378.9 MB, free: 41.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.2009, allocations: 0 / 378.9 MB, free: 41.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008421/0.2017, allocations: 0.6044 MB / 379.5 MB, free: 41.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.2018, allocations: 53.62 kB / 379.5 MB, free: 41.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.432e-05/0.2019, allocations: 131.4 kB / 379.6 MB, free: 41.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.2019, allocations: 26.89 kB / 379.7 MB, free: 41.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.2019, allocations: 132.7 kB / 379.8 MB, free: 41.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.202, allocations: 39.86 kB / 379.8 MB, free: 40.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.202, allocations: 1.156 kB / 379.8 MB, free: 40.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.846e-05/0.202, allocations: 329 kB / 380.2 MB, free: 40.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/0.2021, allocations: 31.39 kB / 380.2 MB, free: 40.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.915e-05/0.2022, allocations: 90 kB / 380.3 MB, free: 40.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.859e-05/0.2023, allocations: 52.05 kB / 380.3 MB, free: 40.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2023, allocations: 1.125 kB / 380.3 MB, free: 40.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002674/0.2026, allocations: 164.7 kB / 380.5 MB, free: 40.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2026, allocations: 5.438 kB / 380.5 MB, free: 40.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2026, allocations: 2.25 kB / 380.5 MB, free: 40.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2026, allocations: 3.75 kB / 380.5 MB, free: 40.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.2028, allocations: 36.8 kB / 380.5 MB, free: 40.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2028, allocations: 2.438 kB / 380.5 MB, free: 40.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.401e-05/0.2029, allocations: 12.67 kB / 380.6 MB, free: 40.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.2029, allocations: 6.219 kB / 380.6 MB, free: 40.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.724e-05/0.203, allocations: 137.7 kB / 380.7 MB, free: 40.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.203, allocations: 11.73 kB / 380.7 MB, free: 40.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.203, allocations: 9.562 kB / 380.7 MB, free: 40.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.203, allocations: 1.438 kB / 380.7 MB, free: 40.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.203, allocations: 1.469 kB / 380.7 MB, free: 40.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2031, allocations: 7.922 kB / 380.7 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.2035, allocations: 448 kB / 381.2 MB, free: 39.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2035, allocations: 1 kB / 381.2 MB, free: 39.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.2036, allocations: 28.92 kB / 381.2 MB, free: 39.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2036, allocations: 0.9375 kB / 381.2 MB, free: 39.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2037, allocations: 10.3 kB / 381.2 MB, free: 39.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.2037, allocations: 1.031 kB / 381.2 MB, free: 39.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2037, allocations: 1.094 kB / 381.2 MB, free: 39.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.204, allocations: 257.7 kB / 381.5 MB, free: 39.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.204, allocations: 84.39 kB / 381.5 MB, free: 39.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.204, allocations: 9.016 kB / 381.6 MB, free: 39.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.279e-05/0.2041, allocations: 11.41 kB / 381.6 MB, free: 39.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.2041, allocations: 8.547 kB / 381.6 MB, free: 39.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.2042, allocations: 3.469 kB / 381.6 MB, free: 39.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.021e-05/0.2042, allocations: 106.2 kB / 381.7 MB, free: 39.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2042, allocations: 0 / 381.7 MB, free: 39.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.2045, allocations: 26.75 kB / 381.7 MB, free: 39.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.033e-05/0.2045, allocations: 93.19 kB / 381.8 MB, free: 39.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.2048, allocations: 99.48 kB / 381.9 MB, free: 39.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2048, allocations: 1 kB / 381.9 MB, free: 39.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.571e-05/0.2048, allocations: 40.73 kB / 381.9 MB, free: 39.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.2051, allocations: 13.55 kB / 381.9 MB, free: 39.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006247/0.2058, allocations: 0.543 MB / 382.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.2059, allocations: 0.7144 MB / 383.2 MB, free: 38.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.2059, allocations: 13.81 kB / 383.2 MB, free: 38.07 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2059, allocations: 4 kB / 383.2 MB, free: 38.06 MB / 298.7 MB Notification: Performance of Templates: time 0.002668/0.2086, allocations: 1.423 MB / 384.6 MB, free: 37.34 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches