Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.00145/0.00145, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001516/0.001516, allocations: 166 kB / 24.84 MB, free: 9.309 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.033/1.033, allocations: 158.6 MB / 186.7 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] 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.1487/0.1487, allocations: 32.37 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 349 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.359e-05, allocations: 7.656 kB / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002297/0.002321, allocations: 1.719 MB / 350.7 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.003373, allocations: 0.792 MB / 351.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.292e-05/0.003466, allocations: 0 / 351.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.003806, allocations: 59.7 kB / 351.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.004029, allocations: 51.75 kB / 351.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.004257, allocations: 91.64 kB / 351.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.00441, allocations: 103.6 kB / 351.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.13e-05/0.004501, allocations: 4.234 kB / 351.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.557e-05/0.004587, allocations: 47.91 kB / 351.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.004698, allocations: 27.89 kB / 351.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.004716, allocations: 8 kB / 351.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-05/0.004807, allocations: 47.86 kB / 351.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.004863, allocations: 27.86 kB / 352 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.004908, allocations: 19.92 kB / 352 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.005097, allocations: 111.5 kB / 352.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.005101, allocations: 3.984 kB / 352.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005102, allocations: 0 / 352.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.005107, allocations: 0 / 352.1 MB, free: 5.973 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.0003903/0.005497, allocations: 467.7 kB / 352.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.00553, allocations: 12.03 kB / 352.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.005571, allocations: 24.84 kB / 352.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.005701, allocations: 156.3 kB / 352.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.005717, allocations: 384 / 352.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.005735, allocations: 4.375 kB / 352.7 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.005839, allocations: 58.94 kB / 352.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.005849, allocations: 7.875 kB / 352.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.005856, allocations: 4 kB / 352.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.005861, allocations: 0 / 352.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.375e-05/0.005885, allocations: 7.984 kB / 352.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.006116, allocations: 268.4 kB / 353.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.045e-05/0.006197, allocations: 63.09 kB / 353.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.006217, allocations: 19.66 kB / 353.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.00623, allocations: 0 / 353.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.257e-05/0.006323, allocations: 68.98 kB / 353.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.006324, allocations: 0 / 353.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003264/0.00665, allocations: 137.4 kB / 353.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.006672, allocations: 55.39 kB / 353.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.006782, allocations: 265.2 kB / 353.7 MB, free: 4.223 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.006799, allocations: 29.7 kB / 353.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.006849, allocations: 166.8 kB / 353.9 MB, free: 4.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.006882, allocations: 35.72 kB / 353.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.006914, allocations: 23.38 kB / 353.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.626e-05/0.00698, allocations: 0.5079 MB / 354.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.006998, allocations: 8 kB / 354.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.817e-05/0.007026, allocations: 31.34 kB / 354.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.428e-05/0.00707, allocations: 47.34 kB / 354.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.007071, allocations: 3.938 kB / 354.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.736e-05/0.007169, allocations: 97.62 kB / 354.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.007181, allocations: 4 kB / 354.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.007186, allocations: 0 / 354.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.007197, allocations: 0 / 354.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.007267, allocations: 19.94 kB / 354.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.007272, allocations: 3.984 kB / 354.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.007304, allocations: 0 / 354.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.007312, allocations: 4 kB / 354.7 MB, free: 3.195 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 6.521e-05/0.007377, allocations: 163.5 kB / 354.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.007395, allocations: 19.84 kB / 354.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.007519, allocations: 107.1 kB / 354.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.00752, allocations: 0 / 354.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.007523, allocations: 4 kB / 354.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.007528, allocations: 0 / 354.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.007763, allocations: 369.5 kB / 355.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007764, allocations: 0 / 355.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.00779, allocations: 8 kB / 355.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.007793, allocations: 4 kB / 355.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.007799, allocations: 384 / 355.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.007802, allocations: 3.984 kB / 355.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.007805, allocations: 12.03 kB / 355.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.007914, allocations: 259.4 kB / 355.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.007926, allocations: 11.91 kB / 355.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.007943, allocations: 4 kB / 355.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-05/0.007985, allocations: 0 / 355.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.008014, allocations: 15.92 kB / 355.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.008027, allocations: 4 kB / 355.6 MB, free: 2.152 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.461e-05/0.008081, allocations: 180.4 kB / 355.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008081, allocations: 0 / 355.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001859/0.008267, allocations: 23.94 kB / 355.8 MB, free: 1.953 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.0009286/0.009196, allocations: 438 kB / 356.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.009332, allocations: 51.58 kB / 356.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.009334, allocations: 0 / 356.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.009373, allocations: 35.55 kB / 356.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.009625, allocations: 35.77 kB / 356.4 MB, free: 1.488 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.009952, allocations: 257.6 kB / 356.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.475e-05/0.009987, allocations: 76.39 kB / 356.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.554e-05/0.01002, allocations: 12.5 kB / 356.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.01008, allocations: 86.19 kB / 356.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01008, allocations: 0 / 356.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of Templates: time 0.004491/0.01457, allocations: 2.053 MB / 358.8 MB, free: 14.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.250660005956888]