Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.001421/0.001421, allocations: 84.23 kB / 20.21 MB, free: 4.227 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.001534/0.001534, allocations: 157.6 kB / 23.52 MB, free: 0.918 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.574/1.574, allocations: 158.6 MB / 185.3 MB, free: 2.879 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.248/0.248, 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.229e-05, allocations: 2.312 kB / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002767/0.002799, allocations: 1.656 MB / 348.7 MB, free: 8.062 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.003912, allocations: 0.7532 MB / 349.4 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.332e-05/0.003995, allocations: 0 / 349.4 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.004299, allocations: 55.75 kB / 349.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.004528, allocations: 63.62 kB / 349.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.004748, allocations: 79.7 kB / 349.6 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.004894, allocations: 91.7 kB / 349.7 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.004933, allocations: 11.98 kB / 349.7 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.909e-05/0.005022, allocations: 51.83 kB / 349.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.005093, allocations: 23.92 kB / 349.8 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.005112, allocations: 4 kB / 349.8 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.897e-05/0.00519, allocations: 31.92 kB / 349.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.005246, allocations: 31.84 kB / 349.9 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.917e-05/0.005295, allocations: 15.94 kB / 349.9 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.005471, allocations: 119.6 kB / 350 MB, free: 6.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.005473, allocations: 0 / 350 MB, free: 6.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005474, allocations: 3.938 kB / 350 MB, free: 6.727 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.005479, allocations: 0 / 350 MB, free: 6.727 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004912/0.00597, allocations: 357.5 kB / 350.3 MB, free: 6.348 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.006006, allocations: 12.03 kB / 350.3 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.735e-05/0.006074, allocations: 20.83 kB / 350.4 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.006297, allocations: 157.3 kB / 350.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.006313, allocations: 4.375 kB / 350.5 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.006324, allocations: 384 / 350.5 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.006479, allocations: 50.23 kB / 350.6 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.00649, allocations: 3.938 kB / 350.6 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.006503, allocations: 0 / 350.6 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.006509, allocations: 0 / 350.6 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.554e-05/0.006595, allocations: 19.92 kB / 350.6 MB, free: 6.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.006796, allocations: 141.3 kB / 350.7 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.006955, allocations: 50.61 kB / 350.8 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.007007, allocations: 20.84 kB / 350.8 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.007025, allocations: 0 / 350.8 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.00716, allocations: 75.27 kB / 350.9 MB, free: 5.719 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.007162, allocations: 0 / 350.9 MB, free: 5.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003068/0.007468, allocations: 105.5 kB / 351 MB, free: 5.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.007494, allocations: 55.39 kB / 351 MB, free: 5.543 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.007684, allocations: 267.5 kB / 351.3 MB, free: 5.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.007695, allocations: 29.7 kB / 351.3 MB, free: 5.234 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.007737, allocations: 108.1 kB / 351.4 MB, free: 5.125 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.007767, allocations: 15.84 kB / 351.4 MB, free: 5.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.007802, allocations: 17.72 kB / 351.5 MB, free: 5.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.996e-05/0.007872, allocations: 330.8 kB / 351.8 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.046e-05/0.007923, allocations: 15.98 kB / 351.8 MB, free: 4.738 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.858e-05/0.007971, allocations: 29.64 kB / 351.8 MB, free: 4.703 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.881e-05/0.00806, allocations: 45.7 kB / 351.9 MB, free: 4.652 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.008062, allocations: 4 kB / 351.9 MB, free: 4.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001682/0.00823, allocations: 93.53 kB / 352 MB, free: 4.551 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.008245, allocations: 4 kB / 352 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.008252, allocations: 3.938 kB / 352 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.008272, allocations: 0 / 352 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.106e-05/0.008353, allocations: 16.3 kB / 352 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.008358, allocations: 0 / 352 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.008406, allocations: 8 kB / 352 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.008413, allocations: 0 / 352 MB, free: 4.52 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 (7): * Single equations (assignments): 7 * 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 8.521e-05/0.008498, allocations: 138.8 kB / 352.1 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.008525, allocations: 19.84 kB / 352.2 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.008714, allocations: 106.7 kB / 352.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.008717, allocations: 0 / 352.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.008721, allocations: 4 kB / 352.3 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.008725, allocations: 0 / 352.3 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.345e-05/0.008818, allocations: 141.3 kB / 352.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.008819, allocations: 0 / 352.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.008848, allocations: 4 kB / 352.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.008849, allocations: 0 / 352.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.008858, allocations: 4 kB / 352.4 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.008861, allocations: 7.938 kB / 352.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008862, allocations: 0 / 352.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.009039, allocations: 124.9 kB / 352.5 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.009059, allocations: 19.84 kB / 352.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.009082, allocations: 0 / 352.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.941e-05/0.009122, allocations: 7.938 kB / 352.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.009157, allocations: 3.984 kB / 352.6 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.009169, allocations: 4 kB / 352.6 MB, free: 3.879 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.009297, allocations: 199.3 kB / 352.8 MB, free: 3.684 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009297, allocations: 0 / 352.8 MB, free: 3.684 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002256/0.009522, allocations: 31.92 kB / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001858/0.01138, allocations: 430.8 kB / 353.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.01155, allocations: 43.92 kB / 353.3 MB, free: 3.293 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01155, allocations: 0 / 353.3 MB, free: 3.293 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.015e-05/0.01161, allocations: 19.98 kB / 353.3 MB, free: 3.273 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.01191, allocations: 33.45 kB / 353.3 MB, free: 3.242 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.01242, allocations: 276 kB / 353.6 MB, free: 2.949 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.015e-05/0.0125, allocations: 104.8 kB / 353.7 MB, free: 2.824 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.114e-05/0.01256, allocations: 12.48 kB / 353.7 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.01259, allocations: 16.5 kB / 353.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01259, allocations: 0 / 353.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of Templates: time 0.005169/0.01776, allocations: 1.626 MB / 355.3 MB, free: 1.184 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.080296320025809]