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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 89.56 kB / 17.31 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 179.3 kB / 18.22 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.132/1.132, allocations: 223.3 MB / 242.3 MB, free: 14.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002033/0.0002032, allocations: 7.938 kB / 302.1 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07083/0.07105, allocations: 50.41 MB / 352.5 MB, free: 3.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.001677/0.07276, allocations: 1.673 MB / 354.2 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005777/0.07335, allocations: 0.4909 MB / 354.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.447e-05/0.07343, allocations: 7.938 kB / 354.7 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.725e-05/0.07351, allocations: 15.91 kB / 354.7 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.208e-05/0.07358, allocations: 27.77 kB / 354.7 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.07373, allocations: 35.97 kB / 354.7 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.07389, allocations: 131.5 kB / 354.9 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.07403, allocations: 65.89 kB / 354.9 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.932e-05/0.07411, allocations: 51.78 kB / 355 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.02e-05/0.07421, allocations: 63.64 kB / 355 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.07424, allocations: 8 kB / 355.1 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.794e-05/0.07426, allocations: 8 kB / 355.1 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.07429, allocations: 19.92 kB / 355.1 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.07436, allocations: 89.36 kB / 355.2 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.07448, allocations: 127.9 kB / 355.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.07448, allocations: 0 / 355.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.07449, allocations: 0 / 355.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.0745, allocations: 0 / 355.3 MB, free: 0.6172 MB / 286.1 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.000423/0.07493, allocations: 415.1 kB / 355.7 MB, free: 168 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.647e-05/0.07496, allocations: 8.031 kB / 355.7 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.075, allocations: 16.75 kB / 355.7 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.07517, allocations: 212.1 kB / 355.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.07519, allocations: 12.31 kB / 355.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.07523, allocations: 20.38 kB / 356 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.07547, allocations: 142.5 kB / 356.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.07549, allocations: 0 / 356.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.07552, allocations: 8 kB / 356.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.07553, allocations: 4 kB / 356.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.07571, allocations: 103.4 kB / 356.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006391/0.07636, allocations: 0.5329 MB / 356.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.07651, allocations: 74.55 kB / 356.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.386e-05/0.07658, allocations: 33.03 kB / 356.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.0766, allocations: 3.938 kB / 356.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.07662, allocations: 38.56 kB / 356.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.07663, allocations: 0 / 356.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008046/0.07743, allocations: 0.6105 MB / 357.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.07747, allocations: 59.28 kB / 357.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.185e-05/0.07756, allocations: 125.8 kB / 357.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.07758, allocations: 29.7 kB / 357.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.07764, allocations: 128 kB / 357.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.07768, allocations: 39.44 kB / 357.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.07771, allocations: 25.64 kB / 357.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.0778, allocations: 326.8 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.07788, allocations: 39.94 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.324e-05/0.07798, allocations: 85.42 kB / 358.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.07816, allocations: 130.7 kB / 358.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.07817, allocations: 0 / 358.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002262/0.0784, allocations: 161.3 kB / 358.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.07842, allocations: 10.5 kB / 358.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.07843, allocations: 3.984 kB / 358.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.07845, allocations: 4 kB / 358.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.07858, allocations: 39.92 kB / 358.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.0786, allocations: 12.12 kB / 358.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.207e-05/0.07867, allocations: 4.562 kB / 358.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.07868, allocations: 8 kB / 358.7 MB, free: 12.84 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.612e-05/0.07876, allocations: 137.7 kB / 358.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.0788, allocations: 11.89 kB / 358.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.07883, allocations: 8.375 kB / 358.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.07884, allocations: 0 / 358.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.07885, allocations: 11.88 kB / 358.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.07886, allocations: 8 kB / 358.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.07931, allocations: 444 kB / 359.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.07932, allocations: 0 / 359.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.07944, allocations: 27.98 kB / 359.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.07946, allocations: 8.062 kB / 359.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.07947, allocations: 0 / 359.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.07947, allocations: 0 / 359.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.07948, allocations: 4 kB / 359.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.07976, allocations: 265 kB / 359.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.0798, allocations: 85.05 kB / 359.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.07982, allocations: 4 kB / 359.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.123e-05/0.07991, allocations: 4 kB / 359.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.07994, allocations: 7.984 kB / 359.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.07995, allocations: 4 kB / 359.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.587e-05/0.08, allocations: 102.1 kB / 359.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.08001, allocations: 64 / 359.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.08025, allocations: 28 kB / 359.8 MB, free: 11.59 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.348e-05/0.08033, allocations: 103.2 kB / 359.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.08052, allocations: 99.83 kB / 360 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.08053, allocations: 384 / 360 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.098e-05/0.08061, allocations: 47.86 kB / 360.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.08089, allocations: 19.92 kB / 360.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006008/0.0815, allocations: 0.5443 MB / 360.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.08172, allocations: 0.716 MB / 361.4 MB, free: 9.992 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.08176, allocations: 15.91 kB / 361.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.08176, allocations: 0 / 361.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of Templates: time 0.002375/0.08414, allocations: 1.425 MB / 362.8 MB, free: 8.551 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches