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.001408/0.001408, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001527/0.001527, allocations: 215.1 kB / 24.48 MB, free: 3.84 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.489/1.489, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.001575/0.001575, allocations: 51.91 kB / 379 MB, free: 2.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2277, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003369/0.231, allocations: 1.932 MB / 434.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2321, allocations: 0.5415 MB / 434.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.472e-05/0.2321, allocations: 4 kB / 434.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.2322, allocations: 23.73 kB / 434.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.308e-05/0.2323, allocations: 35.7 kB / 434.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.2326, allocations: 51.86 kB / 434.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.2328, allocations: 151.4 kB / 435.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.2329, allocations: 49.72 kB / 435.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.2331, allocations: 67.78 kB / 435.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.2332, allocations: 59.69 kB / 435.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.2332, allocations: 16 kB / 435.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.834e-05/0.2333, allocations: 19.98 kB / 435.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.2e-05/0.2333, allocations: 31.86 kB / 435.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.825e-05/0.2334, allocations: 63.73 kB / 435.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.2336, allocations: 173 kB / 435.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2336, allocations: 0 / 435.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2336, allocations: 0 / 435.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2336, allocations: 4 kB / 435.5 MB, free: 3.52 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.0006036/0.2342, allocations: 365.7 kB / 435.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2343, allocations: 12.03 kB / 435.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.2344, allocations: 24.83 kB / 435.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.2347, allocations: 154.2 kB / 436.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.2347, allocations: 16.31 kB / 436.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.2347, allocations: 12.38 kB / 436.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.235, allocations: 146.7 kB / 436.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.235, allocations: 11.95 kB / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.235, allocations: 8 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.2351, allocations: 7.984 kB / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.2353, allocations: 87.89 kB / 436.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/0.236, allocations: 411.9 kB / 436.8 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.2362, allocations: 74.55 kB / 436.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.897e-05/0.2362, allocations: 28.97 kB / 436.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.2363, allocations: 8 kB / 436.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.2363, allocations: 34.56 kB / 436.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.2363, allocations: 0 / 436.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009533/0.2372, allocations: 454.7 kB / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.2373, allocations: 52.44 kB / 437.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.2374, allocations: 142 kB / 437.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.2374, allocations: 29.64 kB / 437.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/0.2375, allocations: 144.1 kB / 437.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.2376, allocations: 39.62 kB / 437.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.2376, allocations: 37.66 kB / 437.8 MB, free: 1.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2378, allocations: 318.8 kB / 438.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.2379, allocations: 35.94 kB / 438.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.238, allocations: 85.59 kB / 438.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.2382, allocations: 142.6 kB / 438.4 MB, free: 444 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.2382, allocations: 4 kB / 438.4 MB, free: 440 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002769/0.2385, allocations: 149.4 kB / 438.5 MB, free: 284 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2385, allocations: 8 kB / 438.5 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2385, allocations: 0 / 438.5 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2385, allocations: 8.188 kB / 438.5 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.2387, allocations: 39.92 kB / 438.6 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2387, allocations: 4 kB / 438.6 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-05/0.2388, allocations: 11.92 kB / 438.6 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.2388, allocations: 11.98 kB / 438.6 MB, free: 200 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 0.0001112/0.2389, allocations: 125.8 kB / 438.7 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.2389, allocations: 7.953 kB / 438.7 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.239, allocations: 16.72 kB / 438.7 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.239, allocations: 0 / 438.7 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.239, allocations: 0 / 438.7 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.239, allocations: 11.92 kB / 438.7 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/0.2395, allocations: 367.7 kB / 439.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2395, allocations: 0 / 439.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.2397, allocations: 23.98 kB / 439.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.2397, allocations: 3.938 kB / 439.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.2397, allocations: 8 kB / 439.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2397, allocations: 0 / 439.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2397, allocations: 192 / 439.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.24, allocations: 265 kB / 439.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.24, allocations: 3.953 kB / 439.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.2401, allocations: 7.938 kB / 439.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-05/0.2402, allocations: 8 kB / 439.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.2402, allocations: 3.984 kB / 439.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.2402, allocations: 4 kB / 439.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.024e-05/0.2403, allocations: 101.5 kB / 439.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2403, allocations: 0 / 439.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.2405, allocations: 28 kB / 439.6 MB, free: 15.16 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 0.000106/0.2406, allocations: 107.2 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.2409, allocations: 83.84 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.2409, allocations: 4 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.945e-05/0.241, allocations: 35.92 kB / 439.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.2413, allocations: 15.98 kB / 439.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007644/0.242, allocations: 458.5 kB / 440.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.644e-05/0.2421, allocations: 101.6 kB / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.2422, allocations: 15.44 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2422, allocations: 4 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Templates: time 0.00325/0.2454, allocations: 1.551 MB / 441.9 MB, free: 12.73 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 -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: 6.801634093746543]