Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009919/0.0009918, allocations: 181.3 kB / 17.01 MB, free: 5.125 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.501/1.501, allocations: 205.4 MB / 223.1 MB, free: 9.043 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.0008434/0.0008434, allocations: 100.1 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002715, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2742, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09845/0.3727, allocations: 77.27 MB / 453.1 MB, free: 3.398 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.373, allocations: 67.97 kB / 453.1 MB, free: 3.332 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007283/0.3804, allocations: 2.601 MB / 455.7 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3804, allocations: 0 / 455.7 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.3804, allocations: 4 kB / 455.7 MB, free: 0.7227 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.0004653/0.3809, allocations: 422.8 kB / 456.2 MB, free: 268 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3809, allocations: 8.031 kB / 456.2 MB, free: 260 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.381, allocations: 11.91 kB / 456.2 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.3812, allocations: 195 kB / 456.4 MB, free: 12 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.3812, allocations: 12 kB / 456.4 MB, free: 0 / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.3813, allocations: 27.94 kB / 456.4 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.3816, allocations: 134 kB / 456.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.3816, allocations: 4 kB / 456.5 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.3816, allocations: 4 kB / 456.5 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3816, allocations: 4 kB / 456.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.3818, allocations: 103.6 kB / 456.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000827/0.3827, allocations: 0.5404 MB / 457.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.3829, allocations: 82.48 kB / 457.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.3829, allocations: 0 / 457.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.3829, allocations: 34.56 kB / 457.3 MB, free: 14.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.3829, allocations: 0 / 457.3 MB, free: 14.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001008/0.3839, allocations: 0.6062 MB / 457.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.384, allocations: 55.41 kB / 458 MB, free: 14.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.741e-05/0.3841, allocations: 119.2 kB / 458.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3841, allocations: 29.7 kB / 458.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.3842, allocations: 135.9 kB / 458.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.3843, allocations: 43.36 kB / 458.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/0.3843, allocations: 4 kB / 458.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3844, allocations: 326.8 kB / 458.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.3845, allocations: 31.98 kB / 458.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.3846, allocations: 84.91 kB / 458.7 MB, free: 13.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.124e-05/0.3847, allocations: 52.97 kB / 458.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3847, allocations: 0 / 458.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002628/0.385, allocations: 157.4 kB / 458.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.385, allocations: 4.094 kB / 458.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.385, allocations: 12.12 kB / 458.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.385, allocations: 0 / 458.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3852, allocations: 43.92 kB / 459 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.3852, allocations: 3.953 kB / 459 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.16e-05/0.3853, allocations: 8 kB / 459 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.3853, allocations: 8 kB / 459 MB, free: 13.13 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.0001107/0.3854, allocations: 133.7 kB / 459.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.3855, allocations: 7.906 kB / 459.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.3855, allocations: 20.38 kB / 459.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3855, allocations: 4 kB / 459.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3855, allocations: 0 / 459.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.3855, allocations: 3.953 kB / 459.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000529/0.3861, allocations: 447.9 kB / 459.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3861, allocations: 4 kB / 459.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.3862, allocations: 27.98 kB / 459.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.3862, allocations: 3.953 kB / 459.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3863, allocations: 4 kB / 459.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.3863, allocations: 7.922 kB / 459.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3863, allocations: 0 / 459.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.3866, allocations: 276.4 kB / 459.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.3867, allocations: 85.05 kB / 460 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.3867, allocations: 4 kB / 460 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.3868, allocations: 12.05 kB / 460 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.3869, allocations: 7.938 kB / 460 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.3869, allocations: 7.984 kB / 460 MB, free: 11.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.487e-05/0.3869, allocations: 103.1 kB / 460.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3869, allocations: 3.938 kB / 460.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.3872, allocations: 24 kB / 460.2 MB, free: 11.85 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.0001301/0.3873, allocations: 99.25 kB / 460.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.3876, allocations: 99.83 kB / 460.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3876, allocations: 288 / 460.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/0.3877, allocations: 39.86 kB / 460.4 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.3879, allocations: 11.95 kB / 460.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008037/0.3887, allocations: 0.5157 MB / 460.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.3891, allocations: 0.716 MB / 461.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.352e-05/0.3891, allocations: 16.88 kB / 461.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.3892, allocations: 11.44 kB / 461.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3892, allocations: 0 / 461.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of Templates: time 0.003018/0.3922, allocations: 0.787 MB / 462.5 MB, free: 9.496 MB / 346.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