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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 85.95 kB / 23 MB, free: 1.5 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 180.8 kB / 26.4 MB, free: 7.961 MB / 18.57 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 0.9517/0.9517, allocations: 158.6 MB / 188.3 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.056e-05, allocations: 6.25 kB / 252.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002381/0.002401, allocations: 1.976 MB / 254.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007773/0.003178, allocations: 0.5346 MB / 254.8 MB, free: 4.723 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.003279, allocations: 4 kB / 254.8 MB, free: 4.719 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.003404, allocations: 23.78 kB / 254.8 MB, free: 4.695 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.94e-05/0.003484, allocations: 35.64 kB / 254.8 MB, free: 4.66 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.003684, allocations: 47.81 kB / 254.9 MB, free: 4.613 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.003845, allocations: 151.4 kB / 255 MB, free: 4.465 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.003973, allocations: 49.62 kB / 255.1 MB, free: 4.418 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.004105, allocations: 99.73 kB / 255.2 MB, free: 4.32 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.58e-05/0.004191, allocations: 47.88 kB / 255.2 MB, free: 4.273 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.004214, allocations: 16 kB / 255.2 MB, free: 4.258 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.004229, allocations: 12 kB / 255.2 MB, free: 4.246 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.004256, allocations: 35.89 kB / 255.3 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.004297, allocations: 51.84 kB / 255.3 MB, free: 4.16 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.004428, allocations: 103.6 kB / 255.4 MB, free: 4.055 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.00443, allocations: 0 / 255.4 MB, free: 4.055 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004431, allocations: 0 / 255.4 MB, free: 4.055 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.004434, allocations: 0 / 255.4 MB, free: 4.055 MB / 234.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.0003995/0.004834, allocations: 476 kB / 255.9 MB, free: 3.555 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.004867, allocations: 15.98 kB / 255.9 MB, free: 3.539 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.004911, allocations: 36.72 kB / 255.9 MB, free: 3.504 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.005073, allocations: 148.4 kB / 256.1 MB, free: 3.332 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.005086, allocations: 12.38 kB / 256.1 MB, free: 3.32 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.00511, allocations: 20.38 kB / 256.1 MB, free: 3.301 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.005246, allocations: 110.6 kB / 256.2 MB, free: 3.184 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.005258, allocations: 4.141 kB / 256.2 MB, free: 3.18 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.005268, allocations: 4.375 kB / 256.2 MB, free: 3.176 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.005276, allocations: 11.94 kB / 256.2 MB, free: 3.164 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.956e-05/0.005335, allocations: 47.7 kB / 256.3 MB, free: 3.117 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.005796, allocations: 467 kB / 256.7 MB, free: 2.625 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.141e-05/0.005888, allocations: 62.97 kB / 256.8 MB, free: 2.551 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.308e-05/0.005911, allocations: 15.69 kB / 256.8 MB, free: 2.531 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.005923, allocations: 0 / 256.8 MB, free: 2.531 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.005947, allocations: 37.39 kB / 256.9 MB, free: 2.484 MB / 234.7 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.005948, allocations: 0 / 256.9 MB, free: 2.484 MB / 234.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004845/0.006433, allocations: 384.3 kB / 257.2 MB, free: 2.047 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.00646, allocations: 59.34 kB / 257.3 MB, free: 1.977 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.318e-05/0.006554, allocations: 197.8 kB / 257.5 MB, free: 1.766 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.006564, allocations: 25.7 kB / 257.5 MB, free: 1.734 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.006634, allocations: 171 kB / 257.7 MB, free: 1.562 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.006661, allocations: 47.62 kB / 257.7 MB, free: 1.516 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.006706, allocations: 43.34 kB / 257.8 MB, free: 1.465 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.006829, allocations: 0.4961 MB / 258.3 MB, free: 0.957 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.006849, allocations: 12 kB / 258.3 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.005e-05/0.006919, allocations: 93.41 kB / 258.4 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.176e-05/0.007011, allocations: 117.3 kB / 258.5 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007013, allocations: 4 kB / 258.5 MB, free: 0.668 MB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001318/0.007145, allocations: 125.5 kB / 258.6 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.007156, allocations: 4 kB / 258.6 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.007162, allocations: 4 kB / 258.6 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.007171, allocations: 3.938 kB / 258.6 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.514e-05/0.007266, allocations: 35.98 kB / 258.6 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.00727, allocations: 4 kB / 258.6 MB, free: 500 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.007308, allocations: 7.984 kB / 258.7 MB, free: 492 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.007317, allocations: 8 kB / 258.7 MB, free: 484 kB / 234.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 8.3e-05/0.0074, allocations: 172.4 kB / 258.8 MB, free: 300 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.007425, allocations: 16.08 kB / 258.8 MB, free: 284 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.449e-05/0.00747, allocations: 12.44 kB / 258.9 MB, free: 268 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.007474, allocations: 0 / 258.9 MB, free: 268 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.007478, allocations: 0 / 258.9 MB, free: 268 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.007485, allocations: 7.984 kB / 258.9 MB, free: 260 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003155/0.0078, allocations: 373.2 kB / 259.2 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.007803, allocations: 0 / 259.2 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.6e-05/0.007879, allocations: 27.92 kB / 259.3 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.007881, allocations: 0 / 259.3 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.007889, allocations: 8.062 kB / 259.3 MB, free: 15.81 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.007892, allocations: 0 / 259.3 MB, free: 15.81 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.007893, allocations: 0 / 259.3 MB, free: 15.81 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.008066, allocations: 275.1 kB / 259.5 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.008078, allocations: 11.94 kB / 259.5 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.008088, allocations: 3.938 kB / 259.6 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-05/0.008132, allocations: 8 kB / 259.6 MB, free: 15.49 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.008157, allocations: 11.92 kB / 259.6 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.008161, allocations: 0 / 259.6 MB, free: 15.48 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.153e-05/0.008202, allocations: 139 kB / 259.7 MB, free: 15.35 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008202, allocations: 0 / 259.7 MB, free: 15.35 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.00838, allocations: 28.03 kB / 259.7 MB, free: 15.32 MB / 250.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 8.22e-05/0.008462, allocations: 99.25 kB / 259.8 MB, free: 15.21 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.008574, allocations: 76.38 kB / 259.9 MB, free: 15.14 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008576, allocations: 0 / 259.9 MB, free: 15.14 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.085e-05/0.008607, allocations: 31.61 kB / 259.9 MB, free: 15.1 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.008826, allocations: 15.38 kB / 260 MB, free: 15.09 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005815/0.009408, allocations: 380.9 kB / 260.3 MB, free: 14.68 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.178e-05/0.00945, allocations: 67.33 kB / 260.4 MB, free: 14.59 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.277e-05/0.009492, allocations: 12.98 kB / 260.4 MB, free: 14.58 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.00955, allocations: 86.19 kB / 260.5 MB, free: 14.49 MB / 250.7 MB Notification: Performance of SimCode: time 9.41e-07/0.009551, allocations: 0 / 260.5 MB, free: 14.49 MB / 250.7 MB Notification: Performance of Templates: time 0.002649/0.0122, allocations: 0.9315 MB / 261.4 MB, free: 13.57 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 240] 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","",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.8487032540142536]