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.0009162/0.0009163, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.552/1.552, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.001021/0.001021, allocations: 82.44 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003849, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2951, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.3962, allocations: 77.31 MB / 453 MB, free: 3.328 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.3965, allocations: 67.97 kB / 453.1 MB, free: 3.262 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006913/0.4035, allocations: 2.593 MB / 455.7 MB, free: 0.668 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.188e-06/0.4035, allocations: 0 / 455.7 MB, free: 0.668 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.4035, allocations: 7.938 kB / 455.7 MB, free: 0.6602 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.0005327/0.4041, allocations: 415 kB / 456.1 MB, free: 208 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4041, allocations: 12.03 kB / 456.1 MB, free: 196 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.4042, allocations: 12.84 kB / 456.1 MB, free: 184 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.4044, allocations: 200.1 kB / 456.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.4044, allocations: 12.38 kB / 456.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.4045, allocations: 16.38 kB / 456.4 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.4048, allocations: 142.3 kB / 456.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.4048, allocations: 8.094 kB / 456.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.4048, allocations: 7.938 kB / 456.5 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.4048, allocations: 8 kB / 456.5 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.405, allocations: 95.92 kB / 456.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007739/0.4058, allocations: 0.5365 MB / 457.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.406, allocations: 78.48 kB / 457.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.669e-05/0.4061, allocations: 36.84 kB / 457.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.4061, allocations: 4 kB / 457.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.4062, allocations: 34.56 kB / 457.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.4062, allocations: 0 / 457.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001161/0.4073, allocations: 0.6107 MB / 457.9 MB, free: 14.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.4074, allocations: 51.41 kB / 458 MB, free: 14.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.4075, allocations: 137.7 kB / 458.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.4075, allocations: 25.7 kB / 458.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.4076, allocations: 135.9 kB / 458.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.4077, allocations: 47.44 kB / 458.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.4077, allocations: 0 / 458.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4078, allocations: 318.8 kB / 458.6 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.4079, allocations: 35.97 kB / 458.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.408, allocations: 89.95 kB / 458.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.4082, allocations: 134.7 kB / 458.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4082, allocations: 0 / 458.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002526/0.4085, allocations: 153.4 kB / 459 MB, free: 12.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.4085, allocations: 4 kB / 459 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.4086, allocations: 8.188 kB / 459 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.4086, allocations: 7.938 kB / 459 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.4088, allocations: 39.97 kB / 459.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.4088, allocations: 0 / 459.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.874e-05/0.4089, allocations: 16.5 kB / 459.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.4089, allocations: 4 kB / 459.1 MB, free: 12.91 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 () * 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 0.000106/0.409, allocations: 133.7 kB / 459.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.409, allocations: 7.906 kB / 459.2 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.4091, allocations: 16.36 kB / 459.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4091, allocations: 4 kB / 459.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.4091, allocations: 3.938 kB / 459.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4091, allocations: 7.875 kB / 459.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.4096, allocations: 444 kB / 459.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4097, allocations: 4 kB / 459.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.4098, allocations: 35.86 kB / 459.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.4098, allocations: 48 / 459.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.4098, allocations: 7.984 kB / 459.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4098, allocations: 0 / 459.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4098, allocations: 0 / 459.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.4102, allocations: 253.1 kB / 460 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.4102, allocations: 88.98 kB / 460.1 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.4102, allocations: 8 kB / 460.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.858e-05/0.4103, allocations: 0 / 460.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.4104, allocations: 12.05 kB / 460.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.4104, allocations: 4 kB / 460.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.881e-05/0.4104, allocations: 103.2 kB / 460.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4105, allocations: 0 / 460.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002554/0.4107, allocations: 28 kB / 460.2 MB, free: 11.66 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 () * 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 0.0001535/0.4109, allocations: 95.25 kB / 460.3 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.4111, allocations: 100.1 kB / 460.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4111, allocations: 0 / 460.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.4112, allocations: 39.92 kB / 460.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.4116, allocations: 23.58 kB / 460.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007799/0.4124, allocations: 0.5443 MB / 461 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.4126, allocations: 0.7126 MB / 461.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.4127, allocations: 11.44 kB / 461.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4127, allocations: 0 / 461.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of Templates: time 0.002896/0.4156, allocations: 1.427 MB / 463.2 MB, free: 8.641 MB / 346.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