Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 188.6 kB / 23.71 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 47.94 kB / 370.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2339, allocations: 52.19 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003378/0.2373, allocations: 1.927 MB / 425 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009241/0.2382, allocations: 482.8 kB / 425.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.229e-05/0.2383, allocations: 8 kB / 425.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.2384, allocations: 19.73 kB / 425.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.121e-05/0.2385, allocations: 31.66 kB / 425.5 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.2387, allocations: 47.88 kB / 425.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.2389, allocations: 147.4 kB / 425.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.2391, allocations: 49.7 kB / 425.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.2392, allocations: 67.84 kB / 425.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.2393, allocations: 55.69 kB / 425.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.2394, allocations: 20 kB / 425.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.795e-05/0.2394, allocations: 12 kB / 425.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.2394, allocations: 31.86 kB / 425.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.31e-05/0.2395, allocations: 59.73 kB / 426 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.2397, allocations: 176.5 kB / 426.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2397, allocations: 0 / 426.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2397, allocations: 0 / 426.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2397, allocations: 0 / 426.2 MB, free: 11.36 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.0006178/0.2404, allocations: 369.7 kB / 426.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2404, allocations: 12.03 kB / 426.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.2404, allocations: 16.84 kB / 426.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.2407, allocations: 142.4 kB / 426.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.2407, allocations: 8.375 kB / 426.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.2407, allocations: 20.33 kB / 426.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.241, allocations: 141.7 kB / 426.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.2411, allocations: 3.984 kB / 426.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.2411, allocations: 8 kB / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.2411, allocations: 4 kB / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.2413, allocations: 96.52 kB / 427 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/0.2421, allocations: 415.6 kB / 427.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.2422, allocations: 74.5 kB / 427.4 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.2423, allocations: 28.84 kB / 427.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.2423, allocations: 0 / 427.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.2423, allocations: 34.56 kB / 427.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.2423, allocations: 0 / 427.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009566/0.2433, allocations: 462.8 kB / 428 MB, free: 9.391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.2433, allocations: 55.41 kB / 428 MB, free: 9.324 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.2435, allocations: 141.5 kB / 428.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.2435, allocations: 29.7 kB / 428.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.325e-05/0.2436, allocations: 140.1 kB / 428.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.2436, allocations: 35.69 kB / 428.4 MB, free: 8.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.2437, allocations: 37.67 kB / 428.4 MB, free: 8.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2438, allocations: 326.8 kB / 428.7 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.081e-05/0.2439, allocations: 27.98 kB / 428.7 MB, free: 8.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.244, allocations: 82.84 kB / 428.8 MB, free: 8.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.2443, allocations: 138.7 kB / 429 MB, free: 8.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2443, allocations: 4 kB / 429 MB, free: 8.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002733/0.2445, allocations: 154.4 kB / 429.1 MB, free: 8.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.2445, allocations: 8 kB / 429.1 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2445, allocations: 0 / 429.1 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.2446, allocations: 4 kB / 429.1 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.2447, allocations: 31.98 kB / 429.2 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2447, allocations: 7.938 kB / 429.2 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.364e-05/0.2448, allocations: 20.2 kB / 429.2 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.2448, allocations: 15.86 kB / 429.2 MB, free: 8.059 MB / 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.0001075/0.2449, allocations: 125.8 kB / 429.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.245, allocations: 7.953 kB / 429.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.245, allocations: 16.38 kB / 429.3 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.245, allocations: 0 / 429.3 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.245, allocations: 0 / 429.3 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.245, allocations: 7.922 kB / 429.3 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005173/0.2455, allocations: 371.7 kB / 429.7 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2455, allocations: 0 / 429.7 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.2457, allocations: 27.92 kB / 429.7 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.2457, allocations: 3.938 kB / 429.7 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.2457, allocations: 12 kB / 429.8 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2457, allocations: 0 / 429.8 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2457, allocations: 0 / 429.8 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.2461, allocations: 257 kB / 430 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.2461, allocations: 3.953 kB / 430 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.2461, allocations: 12.06 kB / 430 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.2462, allocations: 4 kB / 430 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.2462, allocations: 7.984 kB / 430 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.2462, allocations: 4 kB / 430 MB, free: 7.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.383e-05/0.2463, allocations: 99.27 kB / 430.1 MB, free: 7.043 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2463, allocations: 0 / 430.1 MB, free: 7.043 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.2466, allocations: 28 kB / 430.2 MB, free: 7.016 MB / 334.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.718e-05/0.2467, allocations: 95.23 kB / 430.3 MB, free: 6.914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002392/0.2469, allocations: 91.84 kB / 430.3 MB, free: 6.824 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2469, allocations: 0 / 430.3 MB, free: 6.824 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.019e-05/0.247, allocations: 39.92 kB / 430.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.2473, allocations: 12.45 kB / 430.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008002/0.2481, allocations: 424.6 kB / 430.8 MB, free: 6.328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.991e-05/0.2482, allocations: 105.5 kB / 430.9 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.871e-05/0.2483, allocations: 12.97 kB / 430.9 MB, free: 6.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.2483, allocations: 15.44 kB / 430.9 MB, free: 6.168 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2483, allocations: 0 / 430.9 MB, free: 6.168 MB / 334.1 MB Notification: Performance of Templates: time 0.00398/0.2523, allocations: 0.9422 MB / 431.9 MB, free: 5.238 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.271918129175901]