Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.000933/0.000933, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004943/0.005876, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009695/0.0009695, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002272, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9395/0.9395, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08339/1.023, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.268e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002057/0.002069, allocations: 2.059 MB / 246.6 MB, free: 12.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006537/0.002723, allocations: 0.5763 MB / 247.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.863e-05/0.002792, allocations: 4 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.638e-05/0.002848, allocations: 23.73 kB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.523e-05/0.002903, allocations: 35.64 kB / 247.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.003018, allocations: 59.86 kB / 247.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.00316, allocations: 151.3 kB / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.003265, allocations: 50.42 kB / 247.5 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.003406, allocations: 103.8 kB / 247.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.426e-05/0.00349, allocations: 51.81 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.00351, allocations: 16 kB / 247.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.539e-05/0.003565, allocations: 16 kB / 247.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.003585, allocations: 23.94 kB / 247.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.487e-05/0.00362, allocations: 43.88 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.003766, allocations: 107.5 kB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.32e-05/0.003779, allocations: 4 kB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.00378, allocations: 0 / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.003794, allocations: 3.938 kB / 247.8 MB, free: 10.98 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.0004415/0.004235, allocations: 372 kB / 248.2 MB, free: 10.6 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.004266, allocations: 12.03 kB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.004409, allocations: 110 kB / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.004565, allocations: 133.5 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.004579, allocations: 16.38 kB / 248.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.004604, allocations: 16.38 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.004747, allocations: 118.6 kB / 248.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.004759, allocations: 4.141 kB / 248.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.00477, allocations: 8.375 kB / 248.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.004778, allocations: 7.938 kB / 248.6 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.108e-05/0.004839, allocations: 39.72 kB / 248.7 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.005258, allocations: 357.3 kB / 249 MB, free: 9.719 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.704e-05/0.005335, allocations: 54.5 kB / 249.1 MB, free: 9.656 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.005355, allocations: 12.86 kB / 249.1 MB, free: 9.641 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.005368, allocations: 7.984 kB / 249.1 MB, free: 9.633 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.005386, allocations: 30.56 kB / 249.1 MB, free: 9.594 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.005387, allocations: 0 / 249.1 MB, free: 9.594 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004867/0.005874, allocations: 375 kB / 249.5 MB, free: 9.172 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.005901, allocations: 59.41 kB / 249.5 MB, free: 9.102 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.005965, allocations: 138 kB / 249.7 MB, free: 8.957 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.005992, allocations: 33.7 kB / 249.7 MB, free: 8.918 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.006042, allocations: 128.2 kB / 249.8 MB, free: 8.789 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.006065, allocations: 43.62 kB / 249.9 MB, free: 8.746 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.0061, allocations: 37.69 kB / 249.9 MB, free: 8.703 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.66e-05/0.006196, allocations: 322.8 kB / 250.2 MB, free: 8.379 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.006212, allocations: 12 kB / 250.2 MB, free: 8.367 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.031e-05/0.006252, allocations: 66.8 kB / 250.3 MB, free: 8.277 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.996e-05/0.006322, allocations: 103.7 kB / 250.4 MB, free: 8.152 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.006323, allocations: 0 / 250.4 MB, free: 8.152 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 9.415e-05/0.006418, allocations: 105.4 kB / 250.5 MB, free: 8.043 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.006428, allocations: 4 kB / 250.5 MB, free: 8.039 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.006434, allocations: 8.125 kB / 250.5 MB, free: 8.031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.006444, allocations: 12 kB / 250.5 MB, free: 8.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.006567, allocations: 39.97 kB / 250.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.006572, allocations: 4 kB / 250.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.006603, allocations: 4 kB / 250.6 MB, free: 7.973 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.00661, allocations: 8 kB / 250.6 MB, free: 7.965 MB / 250.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.076e-05/0.006661, allocations: 117.7 kB / 250.7 MB, free: 7.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.006677, allocations: 11.98 kB / 250.7 MB, free: 7.828 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.006702, allocations: 12.78 kB / 250.7 MB, free: 7.816 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.006705, allocations: 4 kB / 250.7 MB, free: 7.812 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006707, allocations: 7.938 kB / 250.7 MB, free: 7.805 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.006709, allocations: 0 / 250.7 MB, free: 7.805 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.007003, allocations: 284.2 kB / 251 MB, free: 7.496 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.007005, allocations: 0 / 251 MB, free: 7.496 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-05/0.007086, allocations: 27.98 kB / 251 MB, free: 7.469 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.007095, allocations: 15.88 kB / 251 MB, free: 7.453 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.007097, allocations: 0 / 251 MB, free: 7.453 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.007103, allocations: 0 / 251 MB, free: 7.453 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.007107, allocations: 11.92 kB / 251.1 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007108, allocations: 64 / 251.1 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.007229, allocations: 193.3 kB / 251.2 MB, free: 7.23 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.00724, allocations: 4 kB / 251.3 MB, free: 7.227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.664e-05/0.007277, allocations: 0 / 251.3 MB, free: 7.227 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.007301, allocations: 19.86 kB / 251.3 MB, free: 7.207 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.007305, allocations: 4 kB / 251.3 MB, free: 7.203 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.647e-05/0.007321, allocations: 20.83 kB / 251.3 MB, free: 7.18 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007321, allocations: 0 / 251.3 MB, free: 7.18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001376/0.007459, allocations: 28 kB / 251.3 MB, free: 7.152 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.094e-05/0.00752, allocations: 80.45 kB / 251.4 MB, free: 7.066 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.309e-05/0.007603, allocations: 68.69 kB / 251.5 MB, free: 6.996 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.00761, allocations: 4 kB / 251.5 MB, free: 6.992 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/0.007638, allocations: 36.77 kB / 251.5 MB, free: 6.953 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.007784, allocations: 23.97 kB / 251.5 MB, free: 6.93 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.008851, allocations: 330.9 kB / 251.9 MB, free: 6.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.822e-05/0.008889, allocations: 71.28 kB / 251.9 MB, free: 6.48 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.882e-05/0.008928, allocations: 16.77 kB / 251.9 MB, free: 6.465 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.008976, allocations: 63.38 kB / 252 MB, free: 6.402 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.008977, allocations: 0 / 252 MB, free: 6.402 MB / 250.7 MB Notification: Performance of Templates: time 0.00253/0.01151, allocations: 0.9663 MB / 253 MB, free: 5.453 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.3998569920659065]