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.0008696/0.0008696, allocations: 175 kB / 17.39 MB, free: 4.398 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.304/1.304, allocations: 223.3 MB / 241.4 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008109/0.000811, allocations: 91.3 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003072, allocations: 15.94 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2273, allocations: 50.4 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09387/0.3212, allocations: 78.27 MB / 481 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.3215, allocations: 71.95 kB / 481.1 MB, free: 2.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006712/0.3282, allocations: 2.688 MB / 483.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.3282, allocations: 0 / 483.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.3282, allocations: 4 kB / 483.8 MB, free: 15.33 MB / 362.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.0004335/0.3287, allocations: 403.1 kB / 484.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3287, allocations: 12.03 kB / 484.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.3288, allocations: 20.73 kB / 484.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.329, allocations: 204.3 kB / 484.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.329, allocations: 8.375 kB / 484.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.329, allocations: 16.38 kB / 484.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.3293, allocations: 142.7 kB / 484.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3293, allocations: 4.094 kB / 484.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.3293, allocations: 15.94 kB / 484.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.3294, allocations: 4 kB / 484.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.3296, allocations: 100.3 kB / 484.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007031/0.3303, allocations: 0.5328 MB / 485.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.3304, allocations: 78.55 kB / 485.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.503e-05/0.3305, allocations: 32.84 kB / 485.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.3305, allocations: 4 kB / 485.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.3305, allocations: 38.69 kB / 485.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.3305, allocations: 0 / 485.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008833/0.3314, allocations: 0.599 MB / 486 MB, free: 12.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.3315, allocations: 55.41 kB / 486 MB, free: 12.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.971e-05/0.3316, allocations: 129.7 kB / 486.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.3316, allocations: 25.7 kB / 486.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.3317, allocations: 135.9 kB / 486.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.3317, allocations: 39.45 kB / 486.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.3317, allocations: 4 kB / 486.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.569e-05/0.3318, allocations: 326.8 kB / 486.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.3319, allocations: 35.94 kB / 486.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.941e-05/0.332, allocations: 90.72 kB / 486.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.3322, allocations: 134.7 kB / 486.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3322, allocations: 4 kB / 486.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002445/0.3325, allocations: 161.4 kB / 487.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3325, allocations: 4 kB / 487.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3325, allocations: 4 kB / 487.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3325, allocations: 0 / 487.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.3327, allocations: 44.11 kB / 487.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.3327, allocations: 0 / 487.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.934e-05/0.3327, allocations: 12.5 kB / 487.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.3328, allocations: 11.98 kB / 487.2 MB, free: 11.59 MB / 362.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 8.823e-05/0.3329, allocations: 129.7 kB / 487.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.3329, allocations: 7.906 kB / 487.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.3329, allocations: 12.38 kB / 487.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3329, allocations: 4 kB / 487.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.333, allocations: 7.938 kB / 487.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.333, allocations: 3.938 kB / 487.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.3335, allocations: 444.8 kB / 487.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3335, allocations: 8 kB / 487.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.3336, allocations: 31.98 kB / 487.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3336, allocations: 0 / 487.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3337, allocations: 0 / 487.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3337, allocations: 7.984 kB / 487.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3337, allocations: 0 / 487.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.334, allocations: 258 kB / 488.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.334, allocations: 88.98 kB / 488.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.3341, allocations: 0 / 488.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.3341, allocations: 7.984 kB / 488.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.3342, allocations: 8 kB / 488.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.3342, allocations: 7.984 kB / 488.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.927e-05/0.3343, allocations: 95.33 kB / 488.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3343, allocations: 4 kB / 488.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.3345, allocations: 32 kB / 488.3 MB, free: 10.33 MB / 362.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.0001131/0.3346, allocations: 106.4 kB / 488.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.3348, allocations: 91.83 kB / 488.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3349, allocations: 4.375 kB / 488.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.543e-05/0.3349, allocations: 43.92 kB / 488.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.3353, allocations: 11.94 kB / 488.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006935/0.336, allocations: 0.5074 MB / 489 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3362, allocations: 0.7237 MB / 489.8 MB, free: 8.785 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.11e-05/0.3363, allocations: 13.33 kB / 489.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.3363, allocations: 11.44 kB / 489.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3363, allocations: 4 kB / 489.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of Templates: time 0.002659/0.339, allocations: 0.8003 MB / 490.6 MB, free: 7.965 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/jenkins1/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