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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 109.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.769/1.769, allocations: 227.4 MB / 247.6 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.88 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3306, allocations: 50.53 MB / 409.9 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003132/0.3337, allocations: 1.993 MB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009504/0.3347, allocations: 0.5726 MB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3348, allocations: 4 kB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.335, allocations: 27.72 kB / 412.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.474e-05/0.3351, allocations: 31.7 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.3353, allocations: 55.88 kB / 412.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.3355, allocations: 147.4 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.3357, allocations: 73.48 kB / 412.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.3359, allocations: 67.72 kB / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.336, allocations: 71.69 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.336, allocations: 16 kB / 413 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.628e-05/0.3361, allocations: 16 kB / 413 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.3361, allocations: 35.92 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.955e-05/0.3362, allocations: 75.59 kB / 413.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.3365, allocations: 168.6 kB / 413.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3365, allocations: 0 / 413.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3365, allocations: 0 / 413.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3365, allocations: 4 kB / 413.3 MB, free: 14.28 MB / 334.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.0006023/0.3371, allocations: 443 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3371, allocations: 12.03 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.3373, allocations: 32.67 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.3375, allocations: 204.1 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3376, allocations: 8.375 kB / 413.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.3376, allocations: 16.38 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.3379, allocations: 145.6 kB / 414.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.3379, allocations: 7.906 kB / 414.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.3379, allocations: 12 kB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.338, allocations: 4 kB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.3382, allocations: 87.94 kB / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007413/0.3389, allocations: 0.5211 MB / 414.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.3391, allocations: 86.47 kB / 414.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.701e-05/0.3391, allocations: 32.84 kB / 414.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.3392, allocations: 0 / 414.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.3392, allocations: 34.56 kB / 414.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 8.01e-07/0.3392, allocations: 0 / 414.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009437/0.3401, allocations: 0.5877 MB / 415.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.3402, allocations: 63.28 kB / 415.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3403, allocations: 134 kB / 415.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.3403, allocations: 29.7 kB / 415.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/0.3404, allocations: 135.9 kB / 415.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.3405, allocations: 39.45 kB / 415.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.3405, allocations: 33.72 kB / 415.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3406, allocations: 323 kB / 416.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.552e-05/0.3407, allocations: 27.98 kB / 416.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.3408, allocations: 88.84 kB / 416.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.341, allocations: 130.7 kB / 416.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.341, allocations: 4 kB / 416.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002487/0.3413, allocations: 157.4 kB / 416.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3413, allocations: 4 kB / 416.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.3413, allocations: 8 kB / 416.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3413, allocations: 4 kB / 416.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.3415, allocations: 35.92 kB / 416.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3415, allocations: 3.938 kB / 416.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.965e-05/0.3416, allocations: 16.17 kB / 416.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.3416, allocations: 8 kB / 416.7 MB, free: 10.48 MB / 334.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 8.998e-05/0.3417, allocations: 129.7 kB / 416.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.3417, allocations: 11.81 kB / 416.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.3418, allocations: 12.72 kB / 416.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3418, allocations: 4 kB / 416.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3418, allocations: 3.938 kB / 416.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3418, allocations: 0 / 416.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.3423, allocations: 448 kB / 417.3 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3423, allocations: 0 / 417.3 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.3425, allocations: 23.98 kB / 417.3 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3425, allocations: 192 / 417.3 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3425, allocations: 11.98 kB / 417.3 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3425, allocations: 7.875 kB / 417.3 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3425, allocations: 0 / 417.3 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.3428, allocations: 257 kB / 417.6 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.3429, allocations: 85.05 kB / 417.7 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.3429, allocations: 7.984 kB / 417.7 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.343, allocations: 4 kB / 417.7 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.343, allocations: 7.984 kB / 417.7 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.3431, allocations: 8.062 kB / 417.7 MB, free: 9.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.259e-05/0.3431, allocations: 103.2 kB / 417.8 MB, free: 9.262 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3431, allocations: 0 / 417.8 MB, free: 9.262 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000277/0.3434, allocations: 28 kB / 417.8 MB, free: 9.234 MB / 334.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 0.000146/0.3436, allocations: 95.25 kB / 417.9 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.3438, allocations: 92.2 kB / 418 MB, free: 9.043 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3439, allocations: 4 kB / 418 MB, free: 9.039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.054e-05/0.344, allocations: 39.92 kB / 418 MB, free: 9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.3443, allocations: 19.02 kB / 418.1 MB, free: 8.984 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008425/0.3451, allocations: 457.4 kB / 418.5 MB, free: 8.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.3455, allocations: 0.7119 MB / 419.2 MB, free: 7.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.3456, allocations: 15.44 kB / 419.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3456, allocations: 0 / 419.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of Templates: time 0.003169/0.3487, allocations: 1.511 MB / 420.7 MB, free: 6.238 MB / 334.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches