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.001504/0.001504, allocations: 182 kB / 13.66 MB, free: 1.664 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.995/1.995, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001092/0.001092, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.887e-05/2.902e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.09533, allocations: 47.57 MB / 369.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3999/0.4953, allocations: 77.18 MB / 446.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.4956, allocations: 69.89 kB / 446.3 MB, free: 15.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01108/0.5067, allocations: 2.588 MB / 448.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5068, allocations: 0 / 448.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.5068, allocations: 0 / 448.9 MB, free: 13.71 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000636/0.5075, allocations: 410.2 kB / 449.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.5075, allocations: 8.031 kB / 449.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.5076, allocations: 15.81 kB / 449.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.5078, allocations: 194.2 kB / 449.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.5079, allocations: 11.69 kB / 449.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.508, allocations: 23.83 kB / 449.6 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.5084, allocations: 136.8 kB / 449.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.5084, allocations: 3.906 kB / 449.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.5084, allocations: 3.75 kB / 449.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.5085, allocations: 4 kB / 449.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.5087, allocations: 82.09 kB / 449.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.5099, allocations: 0.541 MB / 450.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.5101, allocations: 65.95 kB / 450.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.455e-05/0.5102, allocations: 32.53 kB / 450.4 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.5102, allocations: 7.922 kB / 450.4 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.5103, allocations: 34.5 kB / 450.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 4.689e-06/0.5103, allocations: 0 / 450.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.001125/0.5114, allocations: 0.5437 MB / 451 MB, free: 11.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.5115, allocations: 59.41 kB / 451.1 MB, free: 11.53 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.5116, allocations: 114.3 kB / 451.2 MB, free: 11.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.5117, allocations: 29.58 kB / 451.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.5118, allocations: 205.8 kB / 451.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/0.5119, allocations: 39.27 kB / 451.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.5119, allocations: 4 kB / 451.5 MB, free: 11.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.512, allocations: 318.7 kB / 451.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.5121, allocations: 27.5 kB / 451.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.5123, allocations: 87.09 kB / 451.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.5124, allocations: 39.61 kB / 451.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5124, allocations: 0 / 451.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003309/0.5128, allocations: 136.5 kB / 452.1 MB, free: 10.58 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5128, allocations: 4 kB / 452.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.5128, allocations: 7.984 kB / 452.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.5128, allocations: 4 kB / 452.1 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.5132, allocations: 44 kB / 452.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.5132, allocations: 8 kB / 452.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.5133, allocations: 4 kB / 452.1 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.5134, allocations: 7.625 kB / 452.1 MB, free: 10.51 MB / 330.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 9.365e-05/0.5135, allocations: 113.4 kB / 452.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.5135, allocations: 7.906 kB / 452.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.471e-05/0.5136, allocations: 16.48 kB / 452.3 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5136, allocations: 0 / 452.3 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.5136, allocations: 7.953 kB / 452.3 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5136, allocations: 4 kB / 452.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000745/0.5144, allocations: 445.9 kB / 452.7 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.5144, allocations: 0 / 452.7 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.5147, allocations: 27.92 kB / 452.7 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.5147, allocations: 3.953 kB / 452.7 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.5147, allocations: 11.69 kB / 452.8 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.5148, allocations: 0 / 452.8 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.5148, allocations: 3.984 kB / 452.8 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.5152, allocations: 256.5 kB / 453 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.5152, allocations: 93.09 kB / 453.1 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.5153, allocations: 3.938 kB / 453.1 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.5154, allocations: 4 kB / 453.1 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.5155, allocations: 7.984 kB / 453.1 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.5155, allocations: 7.875 kB / 453.1 MB, free: 9.492 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.361e-05/0.5156, allocations: 96.36 kB / 453.2 MB, free: 9.402 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5156, allocations: 0 / 453.2 MB, free: 9.402 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000399/0.516, allocations: 31.8 kB / 453.2 MB, free: 9.375 MB / 330.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.0001548/0.5162, allocations: 103.1 kB / 453.3 MB, free: 9.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.5165, allocations: 71.12 kB / 453.4 MB, free: 9.215 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5165, allocations: 3.938 kB / 453.4 MB, free: 9.211 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.698e-05/0.5166, allocations: 39.61 kB / 453.5 MB, free: 9.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.5169, allocations: 12.11 kB / 453.5 MB, free: 9.172 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008759/0.5178, allocations: 329.3 kB / 453.8 MB, free: 8.836 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.5182, allocations: 0.7204 MB / 454.5 MB, free: 8.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.5182, allocations: 15.44 kB / 454.5 MB, free: 8.074 MB / 330.7 MB Notification: Performance of SimCode: time 1.272e-06/0.5182, allocations: 0 / 454.5 MB, free: 8.074 MB / 330.7 MB Notification: Performance of Templates: time 0.004137/0.5224, allocations: 1.411 MB / 455.9 MB, free: 6.684 MB / 330.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/jenkins1/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