Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001029, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001483/0.002512, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002427, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9256/0.9256, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08928/1.015, allocations: 53.88 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 4 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.55e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002312/0.002328, allocations: 2.055 MB / 247.1 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006269/0.002955, allocations: 0.5725 MB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.775e-05/0.003022, allocations: 4 kB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.931e-05/0.003082, allocations: 23.73 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.208e-05/0.003144, allocations: 39.58 kB / 247.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.003272, allocations: 51.86 kB / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.00342, allocations: 159.4 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.003546, allocations: 54.41 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.0037, allocations: 103.7 kB / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.003805, allocations: 47.88 kB / 248.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.003829, allocations: 15.94 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.708e-05/0.003896, allocations: 24 kB / 248.1 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.00392, allocations: 19.94 kB / 248.2 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.003966, allocations: 39.94 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.004138, allocations: 103.5 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.446e-05/0.004153, allocations: 4 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.004153, allocations: 4 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.00417, allocations: 3.938 kB / 248.3 MB, free: 10.32 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.0004971/0.004667, allocations: 376 kB / 248.7 MB, free: 9.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.004697, allocations: 8.625 kB / 248.7 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.004846, allocations: 114 kB / 248.8 MB, free: 9.793 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.005005, allocations: 137.5 kB / 248.9 MB, free: 9.633 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.005019, allocations: 8.375 kB / 249 MB, free: 9.625 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.005047, allocations: 24.31 kB / 249 MB, free: 9.602 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.005209, allocations: 118.6 kB / 249.1 MB, free: 9.477 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.005223, allocations: 4.141 kB / 249.1 MB, free: 9.473 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.005237, allocations: 8.375 kB / 249.1 MB, free: 9.465 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.005245, allocations: 7.938 kB / 249.1 MB, free: 9.457 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.27e-05/0.005318, allocations: 35.97 kB / 249.1 MB, free: 9.422 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.005791, allocations: 353.3 kB / 249.5 MB, free: 9.055 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.2e-05/0.005883, allocations: 50.48 kB / 249.5 MB, free: 8.996 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.005908, allocations: 20.86 kB / 249.6 MB, free: 8.973 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.00592, allocations: 3.984 kB / 249.6 MB, free: 8.969 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.00594, allocations: 30.56 kB / 249.6 MB, free: 8.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.005941, allocations: 4 kB / 249.6 MB, free: 8.926 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005487/0.00649, allocations: 367.7 kB / 250 MB, free: 8.512 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.00652, allocations: 59.41 kB / 250 MB, free: 8.441 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.251e-05/0.006603, allocations: 145.8 kB / 250.2 MB, free: 8.289 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.006614, allocations: 25.7 kB / 250.2 MB, free: 8.258 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.006669, allocations: 132.2 kB / 250.3 MB, free: 8.125 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.006698, allocations: 39.64 kB / 250.3 MB, free: 8.086 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.006744, allocations: 37.69 kB / 250.4 MB, free: 8.043 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.006828, allocations: 326.8 kB / 250.7 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/0.006846, allocations: 8 kB / 250.7 MB, free: 7.707 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.386e-05/0.0069, allocations: 78.06 kB / 250.8 MB, free: 7.609 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.724e-05/0.006987, allocations: 99 kB / 250.9 MB, free: 7.488 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.00699, allocations: 4 kB / 250.9 MB, free: 7.484 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001192/0.00711, allocations: 97.47 kB / 251 MB, free: 7.383 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.007122, allocations: 8 kB / 251 MB, free: 7.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.007127, allocations: 3.938 kB / 251 MB, free: 7.371 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.007137, allocations: 8.188 kB / 251 MB, free: 7.363 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.007282, allocations: 47.97 kB / 251.1 MB, free: 7.316 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.007287, allocations: 4 kB / 251.1 MB, free: 7.312 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.007333, allocations: 4 kB / 251.1 MB, free: 7.309 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.007341, allocations: 4 kB / 251.1 MB, free: 7.305 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 6.467e-05/0.007405, allocations: 125.7 kB / 251.2 MB, free: 7.172 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.007429, allocations: 7.984 kB / 251.2 MB, free: 7.164 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.007455, allocations: 12.78 kB / 251.2 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.007456, allocations: 0 / 251.2 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.007458, allocations: 0 / 251.2 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.007461, allocations: 4 kB / 251.2 MB, free: 7.148 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.00775, allocations: 288.2 kB / 251.5 MB, free: 6.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007752, allocations: 0 / 251.5 MB, free: 6.836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.692e-05/0.007849, allocations: 27.98 kB / 251.5 MB, free: 6.809 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.007859, allocations: 11.89 kB / 251.5 MB, free: 6.797 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.007861, allocations: 0 / 251.5 MB, free: 6.797 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.00787, allocations: 8 kB / 251.5 MB, free: 6.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.007874, allocations: 7.922 kB / 251.5 MB, free: 6.781 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007875, allocations: 0 / 251.5 MB, free: 6.781 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.008021, allocations: 193.2 kB / 251.7 MB, free: 6.57 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.008034, allocations: 0 / 251.7 MB, free: 6.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.999e-05/0.008094, allocations: 8 kB / 251.7 MB, free: 6.562 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.008121, allocations: 15.86 kB / 251.8 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.008124, allocations: 0 / 251.8 MB, free: 6.547 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.38e-05/0.008148, allocations: 28.83 kB / 251.8 MB, free: 6.516 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008148, allocations: 0 / 251.8 MB, free: 6.516 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002093/0.008357, allocations: 28 kB / 251.8 MB, free: 6.488 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 7.174e-05/0.008429, allocations: 84.44 kB / 251.9 MB, free: 6.398 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.008534, allocations: 60.72 kB / 252 MB, free: 6.336 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/0.008543, allocations: 3.984 kB / 252 MB, free: 6.332 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.359e-05/0.008576, allocations: 28.78 kB / 252 MB, free: 6.301 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.008762, allocations: 23.98 kB / 252 MB, free: 6.277 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.01014, allocations: 338.9 kB / 252.3 MB, free: 5.91 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.702e-05/0.01018, allocations: 71.33 kB / 252.4 MB, free: 5.82 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.415e-05/0.01023, allocations: 12.77 kB / 252.4 MB, free: 5.809 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.01028, allocations: 67.38 kB / 252.5 MB, free: 5.742 MB / 250.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01028, allocations: 0 / 252.5 MB, free: 5.742 MB / 250.7 MB Notification: Performance of Templates: time 0.00285/0.01313, allocations: 0.9697 MB / 253.5 MB, free: 4.789 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.501081678085029]