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.001069/0.001069, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001543/0.002612, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009342/0.0009342, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001356/0.00229, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8623/0.8623, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1646/1.027, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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 1.272e-06/1.272e-06, allocations: 0 / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.239e-05/1.367e-05, allocations: 2.312 kB / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002033/0.002047, allocations: 2.043 MB / 241.8 MB, free: 4.336 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005041/0.002551, allocations: 0.505 MB / 242.3 MB, free: 3.828 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.002617, allocations: 4 kB / 242.3 MB, free: 3.824 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.82e-05/0.002675, allocations: 28.25 kB / 242.3 MB, free: 3.797 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.002731, allocations: 33.39 kB / 242.3 MB, free: 3.766 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.002861, allocations: 43.88 kB / 242.4 MB, free: 3.723 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.002992, allocations: 151.3 kB / 242.5 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.003094, allocations: 51.58 kB / 242.6 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.003215, allocations: 107.8 kB / 242.7 MB, free: 3.418 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.279e-05/0.003298, allocations: 48.88 kB / 242.7 MB, free: 3.371 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.003323, allocations: 16 kB / 242.8 MB, free: 3.355 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.606e-05/0.003339, allocations: 12 kB / 242.8 MB, free: 3.344 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.003362, allocations: 24.94 kB / 242.8 MB, free: 3.32 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.003397, allocations: 43.88 kB / 242.8 MB, free: 3.277 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.003531, allocations: 103.5 kB / 242.9 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.003539, allocations: 0.75 kB / 242.9 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.00354, allocations: 0 / 242.9 MB, free: 3.176 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.003548, allocations: 0.6875 kB / 242.9 MB, free: 3.176 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.0003836/0.003931, allocations: 381.3 kB / 243.3 MB, free: 2.781 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.668e-05/0.003958, allocations: 8.031 kB / 243.3 MB, free: 2.773 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.003993, allocations: 23.45 kB / 243.3 MB, free: 2.754 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.004122, allocations: 125.7 kB / 243.5 MB, free: 2.605 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.004134, allocations: 12.38 kB / 243.5 MB, free: 2.594 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.004166, allocations: 20.33 kB / 243.5 MB, free: 2.574 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.004298, allocations: 118.6 kB / 243.6 MB, free: 2.449 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.004308, allocations: 4.172 kB / 243.6 MB, free: 2.445 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.004317, allocations: 5.844 kB / 243.6 MB, free: 2.441 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.004323, allocations: 11.88 kB / 243.6 MB, free: 2.43 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.079e-05/0.004374, allocations: 39.97 kB / 243.7 MB, free: 2.391 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.004747, allocations: 353.8 kB / 244 MB, free: 2.023 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.321e-05/0.00482, allocations: 55.64 kB / 244.1 MB, free: 1.961 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.004838, allocations: 8.859 kB / 244.1 MB, free: 1.949 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.004849, allocations: 7.125 kB / 244.1 MB, free: 1.945 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.004867, allocations: 34.56 kB / 244.1 MB, free: 1.902 MB / 234.7 MB Notification: Performance of pre-optimization done (n=9): time 9.21e-07/0.004868, allocations: 0 / 244.1 MB, free: 1.902 MB / 234.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005505/0.005418, allocations: 386.9 kB / 244.5 MB, free: 1.469 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.005441, allocations: 56.69 kB / 244.6 MB, free: 1.402 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.163e-05/0.005503, allocations: 134.6 kB / 244.7 MB, free: 1.258 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.607e-06/0.005512, allocations: 25.7 kB / 244.7 MB, free: 1.227 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.005555, allocations: 129.3 kB / 244.8 MB, free: 1.098 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.005577, allocations: 43.61 kB / 244.9 MB, free: 1.051 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.005611, allocations: 41.64 kB / 244.9 MB, free: 1.004 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.445e-05/0.005676, allocations: 327.7 kB / 245.2 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.005689, allocations: 8 kB / 245.2 MB, free: 0.668 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.165e-05/0.005731, allocations: 74.78 kB / 245.3 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.678e-05/0.005797, allocations: 97.38 kB / 245.4 MB, free: 464 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.005799, allocations: 4 kB / 245.4 MB, free: 460 kB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 8.914e-05/0.005889, allocations: 100.8 kB / 245.5 MB, free: 356 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.005899, allocations: 8 kB / 245.5 MB, free: 348 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.005903, allocations: 0 / 245.5 MB, free: 348 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.005915, allocations: 4 kB / 245.5 MB, free: 344 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.006026, allocations: 43.97 kB / 245.6 MB, free: 300 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.00603, allocations: 8.438 kB / 245.6 MB, free: 292 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/0.006062, allocations: 4.812 kB / 245.6 MB, free: 288 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.006076, allocations: 8 kB / 245.6 MB, free: 280 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 5.414e-05/0.00613, allocations: 119.4 kB / 245.7 MB, free: 152 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.006147, allocations: 7.984 kB / 245.7 MB, free: 144 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.006173, allocations: 16.44 kB / 245.7 MB, free: 128 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.006174, allocations: 3.938 kB / 245.7 MB, free: 124 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.006175, allocations: 192 / 245.7 MB, free: 124 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.006178, allocations: 4 kB / 245.7 MB, free: 120 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.006404, allocations: 277.4 kB / 246 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.006405, allocations: 0 / 246 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.774e-05/0.006483, allocations: 35.92 kB / 246 MB, free: 15.78 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-06/0.006491, allocations: 7.953 kB / 246.1 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.006492, allocations: 0 / 246.1 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.006499, allocations: 4 kB / 246.1 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.006503, allocations: 7.922 kB / 246.1 MB, free: 15.76 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006504, allocations: 0 / 246.1 MB, free: 15.76 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.006622, allocations: 205.2 kB / 246.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.006634, allocations: 8 kB / 246.3 MB, free: 15.53 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.604e-05/0.00667, allocations: 48 / 246.3 MB, free: 15.53 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.006695, allocations: 15.91 kB / 246.3 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.0067, allocations: 4 kB / 246.3 MB, free: 15.51 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.878e-05/0.006718, allocations: 24.83 kB / 246.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006718, allocations: 0 / 246.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001337/0.006852, allocations: 28 kB / 246.3 MB, free: 15.46 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 6.146e-05/0.006914, allocations: 84.39 kB / 246.4 MB, free: 15.37 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.431e-05/0.006998, allocations: 72.58 kB / 246.5 MB, free: 15.29 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.007004, allocations: 0 / 246.5 MB, free: 15.29 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.185e-05/0.007045, allocations: 29.22 kB / 246.5 MB, free: 15.26 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.007221, allocations: 113.4 kB / 246.6 MB, free: 15.13 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.008261, allocations: 349.8 kB / 247 MB, free: 14.77 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.637e-05/0.008298, allocations: 71.27 kB / 247.1 MB, free: 14.68 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.255e-05/0.00833, allocations: 12.97 kB / 247.1 MB, free: 14.66 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.008381, allocations: 63.38 kB / 247.1 MB, free: 14.6 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008382, allocations: 0 / 247.1 MB, free: 14.6 MB / 250.7 MB Notification: Performance of Templates: time 0.00256/0.01094, allocations: 0.874 MB / 248 MB, free: 13.74 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4522540094330907]