Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.002125/0.002125, allocations: 87.67 kB / 20.21 MB, free: 4.211 MB / 18.57 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.002316/0.002316, allocations: 165.2 kB / 23.52 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2424/0.2424, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.257e-05, allocations: 2.312 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002977/0.003009, allocations: 1.711 MB / 348.7 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.004317, allocations: 0.7766 MB / 349.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.004404, allocations: 3.938 kB / 349.5 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.004745, allocations: 39.77 kB / 349.5 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.004982, allocations: 59.69 kB / 349.6 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.005244, allocations: 83.72 kB / 349.7 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.005392, allocations: 103.6 kB / 349.8 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.978e-05/0.005482, allocations: 8.234 kB / 349.8 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.535e-05/0.005577, allocations: 51.83 kB / 349.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/0.005655, allocations: 23.91 kB / 349.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.005678, allocations: 4 kB / 349.9 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.005786, allocations: 47.86 kB / 349.9 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.005844, allocations: 19.92 kB / 349.9 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.005888, allocations: 19.92 kB / 350 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.006091, allocations: 111.6 kB / 350.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.006096, allocations: 4 kB / 350.1 MB, free: 6.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.006098, allocations: 0 / 350.1 MB, free: 6.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.006104, allocations: 0 / 350.1 MB, free: 6.648 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005281/0.006632, allocations: 447.5 kB / 350.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.00668, allocations: 8.031 kB / 350.5 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.006752, allocations: 16.89 kB / 350.5 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.006941, allocations: 148.4 kB / 350.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.006955, allocations: 4.375 kB / 350.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.006974, allocations: 384 / 350.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.007111, allocations: 54.23 kB / 350.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.007125, allocations: 11.89 kB / 350.7 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.007137, allocations: 4 kB / 350.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.007141, allocations: 0 / 350.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.007213, allocations: 15.98 kB / 350.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.007554, allocations: 295.8 kB / 351.1 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.00774, allocations: 59.17 kB / 351.1 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.007794, allocations: 27.61 kB / 351.1 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.007814, allocations: 0 / 351.1 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.007952, allocations: 76.98 kB / 351.2 MB, free: 5.371 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.007953, allocations: 0 / 351.2 MB, free: 5.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005809/0.008534, allocations: 181.3 kB / 351.4 MB, free: 5.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.008562, allocations: 51.41 kB / 351.4 MB, free: 5.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.008717, allocations: 236.1 kB / 351.7 MB, free: 4.879 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.008729, allocations: 25.7 kB / 351.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.008779, allocations: 158.9 kB / 351.9 MB, free: 4.688 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.008806, allocations: 23.81 kB / 351.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.008851, allocations: 35.36 kB / 351.9 MB, free: 4.621 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.684e-05/0.008938, allocations: 0.5001 MB / 352.4 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.81e-05/0.008986, allocations: 16 kB / 352.4 MB, free: 4.094 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-05/0.009042, allocations: 43.36 kB / 352.5 MB, free: 4.043 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.009143, allocations: 83.16 kB / 352.5 MB, free: 3.953 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.009144, allocations: 0 / 352.5 MB, free: 3.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001707/0.009314, allocations: 93.64 kB / 352.6 MB, free: 3.855 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.009329, allocations: 11.98 kB / 352.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.009336, allocations: 0 / 352.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.009357, allocations: 0 / 352.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.714e-05/0.009454, allocations: 16.31 kB / 352.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.009462, allocations: 4 kB / 352.7 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.009523, allocations: 8 kB / 352.7 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.009533, allocations: 7.984 kB / 352.7 MB, free: 3.809 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.394e-05/0.009627, allocations: 177.5 kB / 352.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.009654, allocations: 15.91 kB / 352.9 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.009903, allocations: 122.5 kB / 353 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.009907, allocations: 0 / 353 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.009912, allocations: 0 / 353 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.009916, allocations: 0 / 353 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.01031, allocations: 413 kB / 353.4 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.01032, allocations: 0 / 353.4 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.01036, allocations: 11.98 kB / 353.4 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.01036, allocations: 4.031 kB / 353.4 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.01037, allocations: 4 kB / 353.4 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01037, allocations: 0 / 353.4 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01037, allocations: 3.938 kB / 353.4 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.01059, allocations: 275.4 kB / 353.7 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.01061, allocations: 7.953 kB / 353.7 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.01064, allocations: 3.984 kB / 353.7 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.01071, allocations: 4 kB / 353.7 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.01076, allocations: 7.984 kB / 353.7 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.01078, allocations: 4 kB / 353.7 MB, free: 2.691 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.01088, allocations: 176 kB / 353.9 MB, free: 2.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01088, allocations: 4 kB / 353.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002554/0.01114, allocations: 20 kB / 353.9 MB, free: 2.496 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003152/0.01429, allocations: 0.4912 MB / 354.4 MB, free: 2.105 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.01456, allocations: 67.61 kB / 354.5 MB, free: 2.035 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.01456, allocations: 0 / 354.5 MB, free: 2.035 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.42e-05/0.01463, allocations: 39.61 kB / 354.5 MB, free: 1.992 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.01504, allocations: 41.44 kB / 354.6 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.01558, allocations: 221.5 kB / 354.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.601e-05/0.01566, allocations: 88.3 kB / 354.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.01571, allocations: 28.91 kB / 354.9 MB, free: 1.566 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.01576, allocations: 16.5 kB / 354.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of SimCode: time 1.713e-06/0.01576, allocations: 0 / 354.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of Templates: time 0.005685/0.02144, allocations: 1.83 MB / 356.7 MB, free: 15.74 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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: 5.503017685026862]