Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.00108/0.00108, allocations: 104.9 kB / 17.58 MB, free: 5.422 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.001118/0.001118, allocations: 191.9 kB / 18.5 MB, free: 4.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001157, allocations: 55.91 kB / 280.6 MB, free: 3.191 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08601/0.08717, allocations: 46.63 MB / 327.3 MB, free: 4.496 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003011/0.09022, allocations: 1.968 MB / 329.2 MB, free: 2.504 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007949/0.09103, allocations: 0.5424 MB / 329.8 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.608e-05/0.09113, allocations: 4 kB / 329.8 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.09126, allocations: 27.72 kB / 329.8 MB, free: 1.922 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.136e-05/0.09134, allocations: 31.7 kB / 329.8 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.09154, allocations: 39.89 kB / 329.9 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.09173, allocations: 151.4 kB / 330 MB, free: 1.703 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.0919, allocations: 69.45 kB / 330.1 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.09201, allocations: 59.84 kB / 330.2 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.09214, allocations: 71.69 kB / 330.2 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.09217, allocations: 12 kB / 330.2 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.833e-05/0.09221, allocations: 16 kB / 330.3 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.399e-05/0.09225, allocations: 35.84 kB / 330.3 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.006e-05/0.09232, allocations: 67.67 kB / 330.4 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.09252, allocations: 175.7 kB / 330.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.944e-06/0.09253, allocations: 0 / 330.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09254, allocations: 0 / 330.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.09255, allocations: 0 / 330.5 MB, free: 1.207 MB / 270.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.0005957/0.09315, allocations: 431 kB / 330.9 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.09319, allocations: 12.03 kB / 331 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.09325, allocations: 20.75 kB / 331 MB, free: 0.707 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.09345, allocations: 200.1 kB / 331.2 MB, free: 476 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.09347, allocations: 20.31 kB / 331.2 MB, free: 456 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.09351, allocations: 12.38 kB / 331.2 MB, free: 444 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.09378, allocations: 145.4 kB / 331.3 MB, free: 292 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.09381, allocations: 8 kB / 331.4 MB, free: 284 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.09383, allocations: 4 kB / 331.4 MB, free: 280 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.09384, allocations: 4 kB / 331.4 MB, free: 276 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.09403, allocations: 87.94 kB / 331.5 MB, free: 188 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008058/0.09484, allocations: 0.5326 MB / 332 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.095, allocations: 78.73 kB / 332.1 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.09508, allocations: 36.78 kB / 332.1 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.0951, allocations: 3.984 kB / 332.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.09514, allocations: 30.56 kB / 332.1 MB, free: 15.43 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.09514, allocations: 0 / 332.1 MB, free: 15.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009414/0.09609, allocations: 0.5985 MB / 332.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.09613, allocations: 59.34 kB / 332.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.09624, allocations: 133.8 kB / 332.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.09628, allocations: 25.7 kB / 332.9 MB, free: 14.49 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.09635, allocations: 132 kB / 333.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.09638, allocations: 43.39 kB / 333.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.09646, allocations: 45.61 kB / 333.2 MB, free: 14.26 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.09657, allocations: 318.8 kB / 333.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.171e-05/0.09665, allocations: 31.98 kB / 333.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.09676, allocations: 86.78 kB / 333.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.09693, allocations: 126.7 kB / 333.7 MB, free: 13.65 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.09694, allocations: 0 / 333.7 MB, free: 13.65 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002433/0.09719, allocations: 158.1 kB / 333.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.09721, allocations: 8 kB / 333.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.09722, allocations: 0 / 333.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.09724, allocations: 4 kB / 333.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.09739, allocations: 39.92 kB / 333.9 MB, free: 13.44 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.0974, allocations: 11.92 kB / 333.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.676e-05/0.09748, allocations: 8.188 kB / 333.9 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.09749, allocations: 8 kB / 333.9 MB, free: 13.41 MB / 286.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 9.577e-05/0.0976, allocations: 129.9 kB / 334.1 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.09763, allocations: 11.84 kB / 334.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.09766, allocations: 12.38 kB / 334.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.09767, allocations: 4 kB / 334.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.09768, allocations: 3.938 kB / 334.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.0977, allocations: 0 / 334.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.09818, allocations: 443.9 kB / 334.5 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.0982, allocations: 0 / 334.5 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.09832, allocations: 27.98 kB / 334.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.09834, allocations: 4 kB / 334.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.09835, allocations: 4 kB / 334.6 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.09836, allocations: 0 / 334.6 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.09837, allocations: 7.938 kB / 334.6 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.09866, allocations: 253.1 kB / 334.8 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.09871, allocations: 81.02 kB / 334.9 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.09874, allocations: 8 kB / 334.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.09882, allocations: 3.984 kB / 334.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.09887, allocations: 8.062 kB / 334.9 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.09888, allocations: 8 kB / 334.9 MB, free: 12.31 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.377e-05/0.09894, allocations: 100.5 kB / 335 MB, free: 12.21 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09894, allocations: 0 / 335 MB, free: 12.21 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.0992, allocations: 28 kB / 335.1 MB, free: 12.19 MB / 286.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 9.987e-05/0.0993, allocations: 103.2 kB / 335.2 MB, free: 12.07 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.09952, allocations: 92.25 kB / 335.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.09953, allocations: 0 / 335.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.154e-05/0.09963, allocations: 43.91 kB / 335.3 MB, free: 11.94 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.09998, allocations: 21.05 kB / 335.3 MB, free: 11.92 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006568/0.1006, allocations: 427.9 kB / 335.7 MB, free: 11.47 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.1009, allocations: 0.7196 MB / 336.4 MB, free: 10.73 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.936e-05/0.101, allocations: 8.828 kB / 336.5 MB, free: 10.72 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.101, allocations: 19.44 kB / 336.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.101, allocations: 0 / 336.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of Templates: time 0.002954/0.104, allocations: 0.8339 MB / 337.3 MB, free: 9.867 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches