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.0008618/0.0008618, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001936, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007148/0.0007148, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009551/0.00167, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9036/0.9036, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08259/0.9862, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.543e-06/1.543e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.409e-05, allocations: 2.312 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00243/0.002454, allocations: 2.07 MB / 246.8 MB, free: 12.15 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007919/0.003246, allocations: 0.5725 MB / 247.3 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.08e-05/0.003326, allocations: 7.938 kB / 247.3 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.21e-05/0.003398, allocations: 19.8 kB / 247.4 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.534e-05/0.003474, allocations: 35.64 kB / 247.4 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.003625, allocations: 67.73 kB / 247.5 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.003794, allocations: 151.4 kB / 247.6 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.003917, allocations: 46.42 kB / 247.7 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.004097, allocations: 111.8 kB / 247.8 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.004198, allocations: 43.88 kB / 247.8 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.004223, allocations: 16 kB / 247.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.719e-05/0.004291, allocations: 19.98 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.004321, allocations: 27.88 kB / 247.9 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.004367, allocations: 39.94 kB / 247.9 MB, free: 11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.004546, allocations: 111.5 kB / 248 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.832e-05/0.004594, allocations: 4 kB / 248 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.004595, allocations: 0 / 248 MB, free: 10.89 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.004605, allocations: 0 / 248 MB, free: 10.89 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.0004669/0.005072, allocations: 372 kB / 248.4 MB, free: 10.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.005101, allocations: 8.031 kB / 248.4 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.005249, allocations: 110 kB / 248.5 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.005401, allocations: 133.5 kB / 248.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.005414, allocations: 12.38 kB / 248.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.005447, allocations: 28.36 kB / 248.7 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.005638, allocations: 115.2 kB / 248.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.005652, allocations: 8.078 kB / 248.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.005665, allocations: 8.375 kB / 248.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.005674, allocations: 11.88 kB / 248.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.813e-05/0.005742, allocations: 39.72 kB / 248.9 MB, free: 9.984 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.006202, allocations: 349.3 kB / 249.2 MB, free: 9.621 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.875e-05/0.006291, allocations: 54.55 kB / 249.2 MB, free: 9.559 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.405e-05/0.006315, allocations: 12.86 kB / 249.3 MB, free: 9.543 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.006329, allocations: 4 kB / 249.3 MB, free: 9.539 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.006352, allocations: 34.56 kB / 249.3 MB, free: 9.496 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.006353, allocations: 0 / 249.3 MB, free: 9.496 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005825/0.006935, allocations: 375 kB / 249.7 MB, free: 9.074 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.006964, allocations: 59.41 kB / 249.7 MB, free: 9.004 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.073e-05/0.007045, allocations: 134.6 kB / 249.9 MB, free: 8.859 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.007057, allocations: 25.7 kB / 249.9 MB, free: 8.828 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.007115, allocations: 136.2 kB / 250 MB, free: 8.691 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.007144, allocations: 47.58 kB / 250.1 MB, free: 8.645 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.007188, allocations: 29.7 kB / 250.1 MB, free: 8.609 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.007278, allocations: 330.7 kB / 250.4 MB, free: 8.277 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.007297, allocations: 8 kB / 250.4 MB, free: 8.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.463e-05/0.007352, allocations: 81.48 kB / 250.5 MB, free: 8.168 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.272e-05/0.007445, allocations: 95.73 kB / 250.6 MB, free: 8.051 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.007449, allocations: 4 kB / 250.6 MB, free: 8.047 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001289/0.007578, allocations: 105.4 kB / 250.7 MB, free: 7.938 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.007591, allocations: 8 kB / 250.7 MB, free: 7.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.007595, allocations: 192 / 250.7 MB, free: 7.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.007608, allocations: 8 kB / 250.7 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.00775, allocations: 43.92 kB / 250.8 MB, free: 7.879 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.007755, allocations: 4 kB / 250.8 MB, free: 7.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.007801, allocations: 4 kB / 250.8 MB, free: 7.871 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.00781, allocations: 7.984 kB / 250.8 MB, free: 7.863 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.632e-05/0.007877, allocations: 125.8 kB / 250.9 MB, free: 7.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.007901, allocations: 7.938 kB / 250.9 MB, free: 7.723 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.00793, allocations: 16.81 kB / 250.9 MB, free: 7.707 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.007933, allocations: 3.984 kB / 250.9 MB, free: 7.703 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.007934, allocations: 4 kB / 250.9 MB, free: 7.699 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.007937, allocations: 0 / 250.9 MB, free: 7.699 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.008219, allocations: 276.3 kB / 251.2 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.00822, allocations: 0 / 251.2 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.677e-05/0.008317, allocations: 35.91 kB / 251.2 MB, free: 7.363 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.008327, allocations: 7.953 kB / 251.2 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.008329, allocations: 0 / 251.2 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.008338, allocations: 8 kB / 251.2 MB, free: 7.348 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.008341, allocations: 3.938 kB / 251.2 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.008342, allocations: 4.062 kB / 251.3 MB, free: 7.34 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.008506, allocations: 201.1 kB / 251.4 MB, free: 7.121 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.008521, allocations: 3.984 kB / 251.5 MB, free: 7.117 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.21e-05/0.008583, allocations: 12 kB / 251.5 MB, free: 7.105 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.008611, allocations: 11.92 kB / 251.5 MB, free: 7.094 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.008615, allocations: 0 / 251.5 MB, free: 7.094 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.424e-05/0.008639, allocations: 28.5 kB / 251.5 MB, free: 7.066 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008639, allocations: 0 / 251.5 MB, free: 7.066 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.008852, allocations: 28 kB / 251.5 MB, free: 7.039 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.46e-05/0.008927, allocations: 76.45 kB / 251.6 MB, free: 6.957 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.009033, allocations: 72.62 kB / 251.7 MB, free: 6.883 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.009041, allocations: 4 kB / 251.7 MB, free: 6.879 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.638e-05/0.009088, allocations: 32.78 kB / 251.7 MB, free: 6.844 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.009313, allocations: 113.1 kB / 251.8 MB, free: 6.715 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.01067, allocations: 331.1 kB / 252.1 MB, free: 6.355 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.682e-05/0.01072, allocations: 75.28 kB / 252.2 MB, free: 6.262 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.163e-05/0.01076, allocations: 12.66 kB / 252.2 MB, free: 6.25 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.137e-05/0.01082, allocations: 63.36 kB / 252.3 MB, free: 6.188 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01082, allocations: 0 / 252.3 MB, free: 6.188 MB / 250.7 MB Notification: Performance of Templates: time 0.002705/0.01353, allocations: 0.8888 MB / 253.2 MB, free: 5.32 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.429460664279759]