Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 174.7 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 221.3 MB / 235.5 MB, free: 2.883 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 88.06 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.014e-05/3.028e-05, allocations: 4 kB / 343.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1397, allocations: 50.42 MB / 394.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4619/0.6016, allocations: 78.16 MB / 472.4 MB, free: 9.387 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.602, allocations: 71.8 kB / 472.5 MB, free: 9.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00772/0.6097, allocations: 2.672 MB / 475.1 MB, free: 6.652 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6098, allocations: 0 / 475.1 MB, free: 6.652 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.6098, allocations: 4 kB / 475.2 MB, free: 6.648 MB / 346.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.0005249/0.6103, allocations: 409.4 kB / 475.6 MB, free: 6.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.6104, allocations: 8.031 kB / 475.6 MB, free: 6.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.6104, allocations: 15.81 kB / 475.6 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.6107, allocations: 195.1 kB / 475.8 MB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.6107, allocations: 16 kB / 475.8 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.6107, allocations: 19.94 kB / 475.8 MB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.611, allocations: 121.7 kB / 475.9 MB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.6111, allocations: 4 kB / 475.9 MB, free: 5.789 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.6111, allocations: 8 kB / 475.9 MB, free: 5.781 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.6111, allocations: 11.94 kB / 475.9 MB, free: 5.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.6113, allocations: 79.73 kB / 476 MB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008634/0.6121, allocations: 0.529 MB / 476.6 MB, free: 5.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.6123, allocations: 78.52 kB / 476.6 MB, free: 5.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.6124, allocations: 28.98 kB / 476.7 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.6124, allocations: 4 kB / 476.7 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.6124, allocations: 30.56 kB / 476.7 MB, free: 4.945 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.6124, allocations: 0 / 476.7 MB, free: 4.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.00086/0.6133, allocations: 0.5553 MB / 477.2 MB, free: 4.297 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.6134, allocations: 51.41 kB / 477.3 MB, free: 4.234 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.6135, allocations: 122.5 kB / 477.4 MB, free: 4.109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.6135, allocations: 29.7 kB / 477.4 MB, free: 4.074 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.6136, allocations: 139.8 kB / 477.6 MB, free: 3.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.6137, allocations: 35.45 kB / 477.6 MB, free: 3.895 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.6137, allocations: 4 kB / 477.6 MB, free: 3.891 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6138, allocations: 318.8 kB / 477.9 MB, free: 3.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.6139, allocations: 28 kB / 478 MB, free: 3.543 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.158e-05/0.614, allocations: 87.27 kB / 478 MB, free: 3.434 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.345e-05/0.6141, allocations: 39.98 kB / 478.1 MB, free: 3.395 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6141, allocations: 0 / 478.1 MB, free: 3.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002175/0.6143, allocations: 142.1 kB / 478.2 MB, free: 3.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.6143, allocations: 8 kB / 478.2 MB, free: 3.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6144, allocations: 3.938 kB / 478.2 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.6144, allocations: 4.094 kB / 478.2 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.6146, allocations: 40.11 kB / 478.3 MB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.6146, allocations: 4 kB / 478.3 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/0.6146, allocations: 8 kB / 478.3 MB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.6147, allocations: 8 kB / 478.3 MB, free: 3.176 MB / 346.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 () * 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 8.976e-05/0.6148, allocations: 124.8 kB / 478.4 MB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.6148, allocations: 7.906 kB / 478.4 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/0.6148, allocations: 12.62 kB / 478.4 MB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.6149, allocations: 0 / 478.4 MB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6149, allocations: 4 kB / 478.4 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.6149, allocations: 0 / 478.4 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.6154, allocations: 439.9 kB / 478.9 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.6154, allocations: 7.984 kB / 478.9 MB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.6155, allocations: 27.98 kB / 478.9 MB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.6156, allocations: 11.97 kB / 478.9 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.6156, allocations: 4.062 kB / 478.9 MB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6156, allocations: 0 / 478.9 MB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6156, allocations: 4 kB / 478.9 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.6159, allocations: 258.3 kB / 479.2 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.616, allocations: 93.05 kB / 479.3 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.616, allocations: 11.95 kB / 479.3 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.6161, allocations: 0 / 479.3 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.6161, allocations: 7.984 kB / 479.3 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.6161, allocations: 4 kB / 479.3 MB, free: 2.062 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.999e-05/0.6162, allocations: 102.2 kB / 479.4 MB, free: 1.965 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6162, allocations: 0 / 479.4 MB, free: 1.965 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002398/0.6165, allocations: 28 kB / 479.4 MB, free: 1.938 MB / 346.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 () * 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 0.0001604/0.6166, allocations: 99.25 kB / 479.5 MB, free: 1.828 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.6168, allocations: 83.86 kB / 479.6 MB, free: 1.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6168, allocations: 0 / 479.6 MB, free: 1.746 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.867e-05/0.6169, allocations: 36.22 kB / 479.6 MB, free: 1.711 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.6171, allocations: 8.188 kB / 479.6 MB, free: 1.703 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006019/0.6177, allocations: 300.1 kB / 479.9 MB, free: 1.383 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.6181, allocations: 0.7238 MB / 480.7 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.478e-05/0.6182, allocations: 12.88 kB / 480.7 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.6182, allocations: 11.44 kB / 480.7 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of SimCode: time 3.81e-07/0.6182, allocations: 0 / 480.7 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of Templates: time 0.00325/0.6215, allocations: 0.7954 MB / 481.5 MB, free: 15.81 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches