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.003/0.003, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009431/0.0009431, allocations: 89.31 kB / 292.1 MB, free: 5.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.355e-05/4.378e-05, allocations: 8 kB / 350.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.144, allocations: 51.48 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4192/0.5633, allocations: 78.98 MB / 481 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/0.5636, allocations: 72.23 kB / 481.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007697/0.5714, allocations: 2.777 MB / 483.8 MB, free: 8.129 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.5714, allocations: 0 / 483.8 MB, free: 8.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.5715, allocations: 4 kB / 483.9 MB, free: 8.125 MB / 346.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.0005052/0.572, allocations: 406.6 kB / 484.2 MB, free: 7.699 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.847e-05/0.5721, allocations: 8.031 kB / 484.3 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.5722, allocations: 32.42 kB / 484.3 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.5725, allocations: 197.7 kB / 484.5 MB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.5725, allocations: 11.06 kB / 484.5 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.5726, allocations: 19.2 kB / 484.5 MB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.5728, allocations: 131.5 kB / 484.6 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.5729, allocations: 6.719 kB / 484.6 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.5729, allocations: 3.562 kB / 484.7 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.5729, allocations: 4.938 kB / 484.7 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.5731, allocations: 87.48 kB / 484.7 MB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007564/0.5738, allocations: 0.5321 MB / 485.3 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.574, allocations: 72.92 kB / 485.3 MB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.574, allocations: 24.11 kB / 485.4 MB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.574, allocations: 4 kB / 485.4 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.5741, allocations: 33.81 kB / 485.4 MB, free: 6.617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.5741, allocations: 0 / 485.4 MB, free: 6.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008023/0.5749, allocations: 0.5541 MB / 486 MB, free: 6.023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.5749, allocations: 55.41 kB / 486 MB, free: 5.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.416e-05/0.575, allocations: 117.6 kB / 486.1 MB, free: 5.848 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.5751, allocations: 25.7 kB / 486.2 MB, free: 5.816 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.5751, allocations: 138.8 kB / 486.3 MB, free: 5.684 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.5752, allocations: 42.45 kB / 486.3 MB, free: 5.648 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/0.5752, allocations: 7.625 kB / 486.3 MB, free: 5.645 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.046e-05/0.5753, allocations: 318.4 kB / 486.6 MB, free: 5.328 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.64e-05/0.5753, allocations: 23.31 kB / 486.7 MB, free: 5.312 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.653e-05/0.5754, allocations: 80.11 kB / 486.7 MB, free: 5.223 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.612e-05/0.5755, allocations: 44.61 kB / 486.8 MB, free: 5.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5755, allocations: 0 / 486.8 MB, free: 5.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001807/0.5757, allocations: 143.8 kB / 486.9 MB, free: 5.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.5757, allocations: 12.03 kB / 486.9 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5757, allocations: 0 / 486.9 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.5757, allocations: 4 kB / 486.9 MB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.5759, allocations: 41.38 kB / 487 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.5759, allocations: 4 kB / 487 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.576, allocations: 11.75 kB / 487 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.576, allocations: 8 kB / 487 MB, free: 4.996 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 () * 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 6.478e-05/0.5761, allocations: 116.9 kB / 487.1 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.5761, allocations: 11.91 kB / 487.1 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.5762, allocations: 14.75 kB / 487.2 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.5762, allocations: 0 / 487.2 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.5762, allocations: 3.953 kB / 487.2 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5762, allocations: 4 kB / 487.2 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.5766, allocations: 434.2 kB / 487.6 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5766, allocations: 0 / 487.6 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.5768, allocations: 23.98 kB / 487.6 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5768, allocations: 7.953 kB / 487.6 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.5768, allocations: 6.359 kB / 487.6 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.5768, allocations: 5.172 kB / 487.6 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5768, allocations: 0 / 487.6 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.577, allocations: 261.6 kB / 487.9 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.5771, allocations: 85.09 kB / 488 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.5771, allocations: 11.3 kB / 488 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.5772, allocations: 0 / 488 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.5773, allocations: 11.98 kB / 488 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.5773, allocations: 2.375 kB / 488 MB, free: 4.004 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.357e-05/0.5773, allocations: 104.1 kB / 488.1 MB, free: 3.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5773, allocations: 1.125 kB / 488.1 MB, free: 3.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002684/0.5776, allocations: 39.44 kB / 488.1 MB, free: 3.875 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 () * 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.000122/0.5777, allocations: 99.19 kB / 488.2 MB, free: 3.766 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.5779, allocations: 76.98 kB / 488.3 MB, free: 3.707 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5779, allocations: 384 / 488.3 MB, free: 3.707 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.313e-05/0.578, allocations: 43.16 kB / 488.3 MB, free: 3.676 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.5782, allocations: 12.98 kB / 488.4 MB, free: 3.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005558/0.5788, allocations: 293.5 kB / 488.6 MB, free: 3.383 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.5789, allocations: 0.7238 MB / 489.4 MB, free: 2.633 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.783e-05/0.579, allocations: 12.88 kB / 489.4 MB, free: 2.617 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.579, allocations: 11.44 kB / 489.4 MB, free: 2.605 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5791, allocations: 0 / 489.4 MB, free: 2.605 MB / 346.7 MB Notification: Performance of Templates: time 0.003143/0.5822, allocations: 0.7977 MB / 490.2 MB, free: 1.855 MB / 346.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/jenkins/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