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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000869/0.000869, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0008676/0.0008676, allocations: 147.4 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8781/0.8781, allocations: 173.4 MB / 201.5 MB, free: 8.738 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 4 kB / 268.4 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.829e-05, allocations: 6.109 kB / 268.5 MB, free: 6.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002166/0.002185, allocations: 1.997 MB / 270.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006447/0.002829, allocations: 0.5024 MB / 271 MB, free: 3.535 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.297e-05/0.002912, allocations: 4 kB / 271 MB, free: 3.531 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.003023, allocations: 27.73 kB / 271 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.766e-05/0.00309, allocations: 35.64 kB / 271 MB, free: 3.469 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.003276, allocations: 47.81 kB / 271.1 MB, free: 3.422 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.00342, allocations: 151.4 kB / 271.2 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.00354, allocations: 58.28 kB / 271.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.003662, allocations: 91.78 kB / 271.4 MB, free: 3.125 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.552e-05/0.003747, allocations: 47.88 kB / 271.4 MB, free: 3.078 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.003772, allocations: 16 kB / 271.4 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.453e-05/0.003786, allocations: 16 kB / 271.4 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.003814, allocations: 31.91 kB / 271.5 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.003853, allocations: 51.84 kB / 271.5 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.004064, allocations: 111.6 kB / 271.6 MB, free: 2.855 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004065, allocations: 0 / 271.6 MB, free: 2.855 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004066, allocations: 3.938 kB / 271.6 MB, free: 2.852 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.00407, allocations: 0 / 271.6 MB, free: 2.852 MB / 250.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.0003478/0.004417, allocations: 336.4 kB / 272 MB, free: 2.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.004446, allocations: 12.92 kB / 272 MB, free: 2.488 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.004482, allocations: 20.92 kB / 272 MB, free: 2.469 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.004604, allocations: 141.5 kB / 272.1 MB, free: 2.305 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.004615, allocations: 12.38 kB / 272.1 MB, free: 2.293 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.004641, allocations: 20.36 kB / 272.2 MB, free: 2.273 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.004767, allocations: 118.6 kB / 272.3 MB, free: 2.148 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.004776, allocations: 192 / 272.3 MB, free: 2.148 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.004786, allocations: 4.375 kB / 272.3 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.004791, allocations: 7.938 kB / 272.3 MB, free: 2.137 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.54e-05/0.004847, allocations: 43.91 kB / 272.3 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.005235, allocations: 353.1 kB / 272.7 MB, free: 1.727 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.578e-05/0.005311, allocations: 54.48 kB / 272.7 MB, free: 1.664 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.005332, allocations: 12.86 kB / 272.7 MB, free: 1.648 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.005344, allocations: 4 kB / 272.7 MB, free: 1.645 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.00536, allocations: 30.56 kB / 272.8 MB, free: 1.605 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 8.12e-07/0.00536, allocations: 0 / 272.8 MB, free: 1.605 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005164/0.005877, allocations: 379 kB / 273.1 MB, free: 1.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.005916, allocations: 55.41 kB / 273.2 MB, free: 1.113 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.006003, allocations: 130.6 kB / 273.3 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.006015, allocations: 29.7 kB / 273.4 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.00608, allocations: 132.2 kB / 273.5 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.006114, allocations: 43.64 kB / 273.5 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.006155, allocations: 33.69 kB / 273.6 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.006233, allocations: 326.8 kB / 273.9 MB, free: 400 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.00625, allocations: 16 kB / 273.9 MB, free: 384 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.373e-05/0.006293, allocations: 62.84 kB / 274 MB, free: 296 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.591e-05/0.006369, allocations: 98.69 kB / 274.1 MB, free: 172 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.006371, allocations: 0 / 274.1 MB, free: 172 kB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001032/0.006474, allocations: 114.4 kB / 274.2 MB, free: 52 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.006486, allocations: 6.969 kB / 274.2 MB, free: 48 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.006492, allocations: 4 kB / 274.2 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.006503, allocations: 0 / 274.2 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.884e-05/0.006592, allocations: 35.98 kB / 274.2 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/0.006609, allocations: 11.98 kB / 274.2 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.006642, allocations: 7.938 kB / 274.2 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.006649, allocations: 4 kB / 274.2 MB, free: 15.98 MB / 266.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 () * 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 5.761e-05/0.006707, allocations: 121.9 kB / 274.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.006724, allocations: 12 kB / 274.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.006748, allocations: 16.42 kB / 274.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.00675, allocations: 0 / 274.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.006752, allocations: 0 / 274.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006755, allocations: 0 / 274.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.006985, allocations: 276.3 kB / 274.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.006987, allocations: 3.984 kB / 274.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.007057, allocations: 23.94 kB / 274.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.007059, allocations: 0 / 274.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.007067, allocations: 15.98 kB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.007068, allocations: 0 / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007069, allocations: 0 / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.007195, allocations: 209.1 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.007203, allocations: 7.953 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.007213, allocations: 3.938 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.77e-05/0.007251, allocations: 4 kB / 274.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.007274, allocations: 11.92 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.007279, allocations: 7.984 kB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.801e-05/0.007297, allocations: 24.22 kB / 275 MB, free: 15.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007297, allocations: 4.031 kB / 275 MB, free: 15.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001429/0.007439, allocations: 24 kB / 275 MB, free: 15.17 MB / 266.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 () * 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 6.893e-05/0.007508, allocations: 84.41 kB / 275.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.216e-05/0.007591, allocations: 52.91 kB / 275.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.007595, allocations: 4 kB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.088e-05/0.007626, allocations: 40.89 kB / 275.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.007772, allocations: 16.42 kB / 275.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/0.008296, allocations: 358.5 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.796e-05/0.008334, allocations: 67.34 kB / 275.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.373e-05/0.008368, allocations: 8.969 kB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.008414, allocations: 63.38 kB / 275.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.008415, allocations: 4 kB / 275.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of Templates: time 0.002423/0.01084, allocations: 0.893 MB / 276.6 MB, free: 13.54 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4709852812811732]