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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002304/0.002304, allocations: 181.2 kB / 24.46 MB, free: 4.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
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=1000,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=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660]
"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.001791/0.001791, allocations: 51.92 kB / 347.6 MB, free: 9.586 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2883, allocations: 49.17 MB / 396.8 MB, free: 9.527 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002952/0.2913, allocations: 1.987 MB / 398.8 MB, free: 8.152 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0007965/0.2921, allocations: 0.5478 MB / 399.3 MB, free: 7.762 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.106e-05/0.2922, allocations: 7.469 kB / 399.3 MB, free: 7.758 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000121/0.2923, allocations: 21.75 kB / 399.4 MB, free: 7.746 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 7.183e-05/0.2924, allocations: 34.41 kB / 399.4 MB, free: 7.719 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.2925, allocations: 42.19 kB / 399.4 MB, free: 7.695 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001878/0.2927, allocations: 154.3 kB / 399.6 MB, free: 7.617 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.2929, allocations: 61.52 kB / 399.6 MB, free: 7.586 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.293, allocations: 64.61 kB / 399.7 MB, free: 7.555 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.2931, allocations: 66.5 kB / 399.8 MB, free: 7.52 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.2932, allocations: 13.84 kB / 399.8 MB, free: 7.52 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.908e-05/0.2932, allocations: 18.56 kB / 399.8 MB, free: 7.516 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.544e-05/0.2932, allocations: 36.8 kB / 399.8 MB, free: 7.488 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.417e-05/0.2933, allocations: 71.89 kB / 399.9 MB, free: 7.445 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.2935, allocations: 164.4 kB / 400.1 MB, free: 7.383 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2935, allocations: 0 / 400.1 MB, free: 7.383 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.643e-06/0.2935, allocations: 0 / 400.1 MB, free: 7.383 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 7.343e-06/0.2935, allocations: 0.9375 kB / 400.1 MB, free: 7.383 MB / 318.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.0005156/0.294, allocations: 370.9 kB / 400.4 MB, free: 7.059 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.2941, allocations: 12.8 kB / 400.5 MB, free: 7.055 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.2941, allocations: 16.91 kB / 400.5 MB, free: 7.047 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.2943, allocations: 140.7 kB / 400.6 MB, free: 6.902 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.2943, allocations: 18.66 kB / 400.6 MB, free: 6.891 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.2944, allocations: 14.56 kB / 400.6 MB, free: 6.887 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.2946, allocations: 143.7 kB / 400.8 MB, free: 6.812 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.2946, allocations: 5.328 kB / 400.8 MB, free: 6.809 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.2947, allocations: 5.75 kB / 400.8 MB, free: 6.805 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2947, allocations: 7.469 kB / 400.8 MB, free: 6.801 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.2949, allocations: 92.38 kB / 400.9 MB, free: 6.773 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006623/0.2955, allocations: 481.2 kB / 401.4 MB, free: 6.418 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.2957, allocations: 70.47 kB / 401.4 MB, free: 6.379 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.352e-05/0.2958, allocations: 37.53 kB / 401.5 MB, free: 6.355 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.2958, allocations: 1.891 kB / 401.5 MB, free: 6.355 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2958, allocations: 31.78 kB / 401.5 MB, free: 6.316 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.2958, allocations: 0 / 401.5 MB, free: 6.316 MB / 318.1 MB
Notification: Performance of matching and sorting (n=11): time 0.0009322/0.2967, allocations: 457 kB / 401.9 MB, free: 5.973 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.2968, allocations: 56.62 kB / 402 MB, free: 5.906 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.2969, allocations: 136.5 kB / 402.1 MB, free: 5.789 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.2969, allocations: 29.7 kB / 402.2 MB, free: 5.754 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/0.297, allocations: 140.2 kB / 402.3 MB, free: 5.629 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.297, allocations: 39.11 kB / 402.3 MB, free: 5.598 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.297, allocations: 35.55 kB / 402.4 MB, free: 5.57 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 4.454e-05/0.2971, allocations: 325.2 kB / 402.7 MB, free: 5.25 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.48e-05/0.2972, allocations: 34.48 kB / 402.7 MB, free: 5.238 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.2973, allocations: 88.44 kB / 402.8 MB, free: 5.156 MB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.2974, allocations: 133.9 kB / 402.9 MB, free: 5.051 MB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2975, allocations: 0 / 402.9 MB, free: 5.051 MB / 318.1 MB
Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002567/0.2977, allocations: 159.4 kB / 403.1 MB, free: 4.969 MB / 318.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2977, allocations: 6.875 kB / 403.1 MB, free: 4.969 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2977, allocations: 5.594 kB / 403.1 MB, free: 4.965 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2977, allocations: 3.625 kB / 403.1 MB, free: 4.965 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.2979, allocations: 37.66 kB / 403.1 MB, free: 4.961 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.2979, allocations: 7.375 kB / 403.2 MB, free: 4.957 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.292e-05/0.298, allocations: 8.75 kB / 403.2 MB, free: 4.953 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.298, allocations: 9.531 kB / 403.2 MB, free: 4.949 MB / 318.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.195e-05/0.2981, allocations: 129.6 kB / 403.3 MB, free: 4.82 MB / 318.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.2981, allocations: 9.031 kB / 403.3 MB, free: 4.816 MB / 318.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.2982, allocations: 15.67 kB / 403.3 MB, free: 4.801 MB / 318.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2982, allocations: 5.094 kB / 403.3 MB, free: 4.797 MB / 318.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2982, allocations: 3.938 kB / 403.3 MB, free: 4.793 MB / 318.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2982, allocations: 1.859 kB / 403.3 MB, free: 4.793 MB / 318.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.2987, allocations: 417.3 kB / 403.7 MB, free: 4.445 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2987, allocations: 1.188 kB / 403.7 MB, free: 4.445 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.2988, allocations: 23.61 kB / 403.8 MB, free: 4.445 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2988, allocations: 1.891 kB / 403.8 MB, free: 4.445 MB / 318.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.2988, allocations: 6.406 kB / 403.8 MB, free: 4.441 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2988, allocations: 1.641 kB / 403.8 MB, free: 4.441 MB / 318.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2988, allocations: 3.938 kB / 403.8 MB, free: 4.438 MB / 318.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.2991, allocations: 251.5 kB / 404 MB, free: 4.246 MB / 318.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.471e-05/0.2991, allocations: 8.828 kB / 404 MB, free: 4.242 MB / 318.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.2991, allocations: 1.875 kB / 404 MB, free: 4.242 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.59e-05/0.2992, allocations: 7.281 kB / 404 MB, free: 4.238 MB / 318.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.2993, allocations: 7.453 kB / 404 MB, free: 4.238 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.2993, allocations: 4.25 kB / 404 MB, free: 4.238 MB / 318.1 MB
Notification: Performance of sorting global known variables: time 4.613e-05/0.2993, allocations: 106.9 kB / 404.2 MB, free: 4.148 MB / 318.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.2993, allocations: 1.406 kB / 404.2 MB, free: 4.148 MB / 318.1 MB
Notification: Performance of remove unused functions: time 0.0002748/0.2996, allocations: 25.31 kB / 404.2 MB, free: 4.145 MB / 318.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 8.655e-05/0.2997, allocations: 98.09 kB / 404.3 MB, free: 4.055 MB / 318.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002232/0.2999, allocations: 88.22 kB / 404.4 MB, free: 4.027 MB / 318.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2999, allocations: 4.375 kB / 404.4 MB, free: 4.023 MB / 318.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.3, allocations: 35.11 kB / 404.4 MB, free: 4.016 MB / 318.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.3003, allocations: 19.38 kB / 404.4 MB, free: 4.004 MB / 318.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007116/0.301, allocations: 425.5 kB / 404.8 MB, free: 3.684 MB / 318.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.3011, allocations: 0.7108 MB / 405.5 MB, free: 2.988 MB / 318.1 MB
Notification: Performance of simCode: alias equations: time 5.104e-05/0.3012, allocations: 17.64 kB / 405.6 MB, free: 2.977 MB / 318.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.3012, allocations: 12.81 kB / 405.6 MB, free: 2.969 MB / 318.1 MB
Notification: Performance of SimCode: time 3.3e-07/0.3012, allocations: 0 / 405.6 MB, free: 2.969 MB / 318.1 MB
Notification: Performance of Templates: time 0.003914/0.3051, allocations: 0.96 MB / 406.5 MB, free: 2.848 MB / 318.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660]
(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) [Timeout 480]
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) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 4.786766185425222]