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.001858/0.001858, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002302/0.002302, allocations: 211.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.523/1.523, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001539/0.001539, allocations: 43.94 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2151, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003202/0.2183, allocations: 1.921 MB / 434.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009448/0.2192, allocations: 0.5531 MB / 434.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.766e-05/0.2193, allocations: 4 kB / 434.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.2194, allocations: 23.73 kB / 434.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.266e-05/0.2195, allocations: 31.7 kB / 434.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.2197, allocations: 55.86 kB / 434.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.2199, allocations: 151.4 kB / 435.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.2201, allocations: 61.3 kB / 435.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.2202, allocations: 67.73 kB / 435.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.2203, allocations: 71.67 kB / 435.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.2204, allocations: 16 kB / 435.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.918e-05/0.2204, allocations: 16 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.2205, allocations: 27.92 kB / 435.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.2205, allocations: 63.73 kB / 435.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.2208, allocations: 174.2 kB / 435.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.2208, allocations: 0 / 435.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2208, allocations: 8 kB / 435.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2208, allocations: 0 / 435.5 MB, free: 3.469 MB / 334.1 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.000575/0.2213, allocations: 361.7 kB / 435.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.2214, allocations: 12.03 kB / 435.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.2215, allocations: 24.83 kB / 435.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.2217, allocations: 154.3 kB / 436.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.2218, allocations: 12.38 kB / 436.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.2218, allocations: 16.38 kB / 436.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.2221, allocations: 154.6 kB / 436.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.2221, allocations: 11.94 kB / 436.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.2221, allocations: 4 kB / 436.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2221, allocations: 4 kB / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.2223, allocations: 83.95 kB / 436.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007067/0.223, allocations: 415.9 kB / 436.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.2232, allocations: 78.53 kB / 436.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.639e-05/0.2233, allocations: 32.78 kB / 436.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.2233, allocations: 0 / 436.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.2233, allocations: 38.69 kB / 436.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.2233, allocations: 0 / 436.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009288/0.2242, allocations: 454.7 kB / 437.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.2243, allocations: 55.41 kB / 437.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.2244, allocations: 144.7 kB / 437.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.2244, allocations: 25.7 kB / 437.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.136e-05/0.2245, allocations: 140.1 kB / 437.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.2246, allocations: 39.62 kB / 437.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.2246, allocations: 33.72 kB / 437.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.2248, allocations: 322.8 kB / 438.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.319e-05/0.2248, allocations: 35.92 kB / 438.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.225, allocations: 85.03 kB / 438.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.2252, allocations: 135.8 kB / 438.4 MB, free: 404 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2252, allocations: 0 / 438.4 MB, free: 404 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002762/0.2254, allocations: 157.4 kB / 438.5 MB, free: 240 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2255, allocations: 12.19 kB / 438.5 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2255, allocations: 0 / 438.5 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2255, allocations: 4 kB / 438.5 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.2256, allocations: 35.92 kB / 438.6 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.2256, allocations: 7.984 kB / 438.6 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.371e-05/0.2257, allocations: 7.938 kB / 438.6 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.2257, allocations: 11.94 kB / 438.6 MB, free: 160 kB / 334.1 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 9.919e-05/0.2258, allocations: 125.8 kB / 438.7 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.2259, allocations: 7.953 kB / 438.7 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.2259, allocations: 20.8 kB / 438.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2259, allocations: 0 / 438.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2259, allocations: 7.984 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2259, allocations: 3.984 kB / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.2264, allocations: 371.6 kB / 439.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2264, allocations: 0 / 439.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.2266, allocations: 23.98 kB / 439.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.2266, allocations: 3.938 kB / 439.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.2266, allocations: 8 kB / 439.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2266, allocations: 4.062 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2266, allocations: 0 / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.2269, allocations: 261.1 kB / 439.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.227, allocations: 3.953 kB / 439.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.227, allocations: 7.938 kB / 439.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.2271, allocations: 8 kB / 439.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.2271, allocations: 3.984 kB / 439.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2271, allocations: 4 kB / 439.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.725e-05/0.2272, allocations: 103.2 kB / 439.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2272, allocations: 4.062 kB / 439.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.2275, allocations: 28 kB / 439.6 MB, free: 15.1 MB / 350.1 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 9.241e-05/0.2275, allocations: 102.4 kB / 439.7 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.2278, allocations: 87.97 kB / 439.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2278, allocations: 4 kB / 439.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.588e-05/0.2279, allocations: 40.34 kB / 439.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.2281, allocations: 16.06 kB / 439.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007128/0.2289, allocations: 427.8 kB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.7e-05/0.229, allocations: 105.6 kB / 440.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.354e-05/0.229, allocations: 8.969 kB / 440.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.229, allocations: 19.42 kB / 440.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.229, allocations: 0 / 440.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Templates: time 0.003603/0.2326, allocations: 0.9938 MB / 441.4 MB, free: 13.27 MB / 350.1 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.317229587992188]