Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, allocations: 200 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007437/0.0007437, allocations: 99.47 kB / 297.5 MB, free: 6.715 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002478/0.0002478, allocations: 4 kB / 358.1 MB, free: 10.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2141, allocations: 51.28 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.3226, allocations: 78.99 MB / 488.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/0.323, allocations: 67.97 kB / 488.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01354/0.3365, allocations: 2.774 MB / 491.2 MB, free: 9.727 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3366, allocations: 0 / 491.2 MB, free: 9.727 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.3366, allocations: 4 kB / 491.2 MB, free: 9.723 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.0007682/0.3374, allocations: 422.9 kB / 491.6 MB, free: 9.258 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3374, allocations: 11.97 kB / 491.6 MB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.3377, allocations: 32.69 kB / 491.7 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.338, allocations: 196.3 kB / 491.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.338, allocations: 12.38 kB / 491.9 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.3381, allocations: 20.38 kB / 491.9 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.3386, allocations: 142.7 kB / 492 MB, free: 8.809 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.3386, allocations: 4.094 kB / 492 MB, free: 8.805 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.3387, allocations: 7.938 kB / 492 MB, free: 8.797 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.3387, allocations: 4 kB / 492 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003925/0.3391, allocations: 103.7 kB / 492.1 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.3404, allocations: 0.5367 MB / 492.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.3407, allocations: 78.53 kB / 492.7 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.3409, allocations: 28.86 kB / 492.8 MB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.3409, allocations: 0 / 492.8 MB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.341, allocations: 42.67 kB / 492.8 MB, free: 7.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.825e-06/0.341, allocations: 0 / 492.8 MB, free: 7.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001731/0.3427, allocations: 0.5992 MB / 493.4 MB, free: 7.238 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.3428, allocations: 51.41 kB / 493.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.343, allocations: 137.7 kB / 493.6 MB, free: 7.031 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.343, allocations: 25.7 kB / 493.6 MB, free: 7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.3432, allocations: 135.9 kB / 493.8 MB, free: 6.863 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.322e-05/0.3432, allocations: 35.45 kB / 493.8 MB, free: 6.828 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.3433, allocations: 12.19 kB / 493.8 MB, free: 6.816 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3434, allocations: 318.8 kB / 494.1 MB, free: 6.496 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.3436, allocations: 35.92 kB / 494.2 MB, free: 6.461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.3438, allocations: 93.02 kB / 494.2 MB, free: 6.348 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.3442, allocations: 135.6 kB / 494.4 MB, free: 6.191 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3443, allocations: 0 / 494.4 MB, free: 6.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005154/0.3448, allocations: 157.4 kB / 494.5 MB, free: 6.031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.3448, allocations: 11.98 kB / 494.5 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3449, allocations: 0 / 494.5 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.3449, allocations: 4.188 kB / 494.5 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.3452, allocations: 39.92 kB / 494.6 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.3452, allocations: 4 kB / 494.6 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.3454, allocations: 11.94 kB / 494.6 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.3454, allocations: 8 kB / 494.6 MB, free: 5.953 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 0.0001552/0.3456, allocations: 129.8 kB / 494.7 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.3457, allocations: 7.906 kB / 494.7 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.3458, allocations: 12.38 kB / 494.8 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3458, allocations: 4 kB / 494.8 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3458, allocations: 0 / 494.8 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.3458, allocations: 3.938 kB / 494.8 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009752/0.3468, allocations: 451.9 kB / 495.2 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.3468, allocations: 4.062 kB / 495.2 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.3471, allocations: 28.11 kB / 495.2 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.3471, allocations: 4 kB / 495.2 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.3472, allocations: 11.94 kB / 495.2 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.3472, allocations: 0 / 495.2 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.3472, allocations: 7.938 kB / 495.3 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.3478, allocations: 255.4 kB / 495.5 MB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-05/0.3479, allocations: 88.98 kB / 495.6 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.348, allocations: 4 kB / 495.6 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.3481, allocations: 7.984 kB / 495.6 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.3482, allocations: 4 kB / 495.6 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3482, allocations: 4 kB / 495.6 MB, free: 4.832 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.3484, allocations: 99.33 kB / 495.7 MB, free: 4.734 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3484, allocations: 0 / 495.7 MB, free: 4.734 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005471/0.3489, allocations: 31.98 kB / 495.7 MB, free: 4.703 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.0001864/0.3491, allocations: 107.2 kB / 495.8 MB, free: 4.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004046/0.3496, allocations: 100.2 kB / 495.9 MB, free: 4.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3496, allocations: 0 / 495.9 MB, free: 4.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.3497, allocations: 43.91 kB / 496 MB, free: 4.449 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.3503, allocations: 19.44 kB / 496 MB, free: 4.434 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.3516, allocations: 0.5075 MB / 496.5 MB, free: 3.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.352, allocations: 0.7121 MB / 497.2 MB, free: 3.152 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.3521, allocations: 12.88 kB / 497.2 MB, free: 3.137 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.3522, allocations: 15.44 kB / 497.3 MB, free: 3.121 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3522, allocations: 0 / 497.3 MB, free: 3.121 MB / 362.7 MB Notification: Performance of Templates: time 0.005307/0.3575, allocations: 0.7967 MB / 498 MB, free: 2.336 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches