Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.0008827/0.0008827, 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.001063/0.001063, allocations: 168.5 kB / 24.84 MB, free: 9.297 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 0.9827/0.9827, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.1544/0.1544, allocations: 32.37 MB / 271.5 MB, free: 14.53 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 349 MB, free: 9.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.426e-05, allocations: 4.281 kB / 349 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.007095/0.007109, allocations: 1.855 MB / 350.8 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.008145, allocations: 0.8815 MB / 351.7 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-05/0.008224, allocations: 11.94 kB / 351.7 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.008571, allocations: 211.4 kB / 351.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.008823, allocations: 179.3 kB / 352.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.009074, allocations: 147.6 kB / 352.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.009272, allocations: 235.3 kB / 352.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.547e-05/0.009347, allocations: 13.81 kB / 352.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.009468, allocations: 135.6 kB / 352.6 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003354/0.01282, allocations: 151.7 kB / 352.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.01285, allocations: 4 kB / 352.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.313e-05/0.01293, allocations: 47.92 kB / 352.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.753e-05/0.01299, allocations: 59.77 kB / 352.9 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.01303, allocations: 43.78 kB / 352.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.0132, allocations: 171.3 kB / 353.1 MB, free: 4.941 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.0132, allocations: 0 / 353.1 MB, free: 4.941 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.0132, allocations: 0 / 353.1 MB, free: 4.941 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.01321, allocations: 4 kB / 353.1 MB, free: 4.938 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003845/0.01359, allocations: 0.5769 MB / 353.7 MB, free: 4.324 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.619e-05/0.01362, allocations: 8.031 kB / 353.7 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.01366, allocations: 40.73 kB / 353.7 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.01382, allocations: 216.6 kB / 354 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.01383, allocations: 384 / 354 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.01385, allocations: 8.375 kB / 354 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.01396, allocations: 102.3 kB / 354.1 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.01397, allocations: 7.875 kB / 354.1 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.01398, allocations: 4 kB / 354.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.01399, allocations: 0 / 354.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.031e-05/0.01403, allocations: 19.97 kB / 354.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.01428, allocations: 447.2 kB / 354.5 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.01439, allocations: 102.2 kB / 354.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.01442, allocations: 31.38 kB / 354.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.01444, allocations: 11.86 kB / 354.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.01454, allocations: 112.4 kB / 354.8 MB, free: 3.105 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 9.31e-07/0.01454, allocations: 0 / 354.8 MB, free: 3.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004064/0.01494, allocations: 249.2 kB / 355 MB, free: 2.855 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.01497, allocations: 81.09 kB / 355.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.01516, allocations: 382.1 kB / 355.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.01517, allocations: 29.7 kB / 355.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.01524, allocations: 211 kB / 355.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.01528, allocations: 51.62 kB / 355.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.01532, allocations: 43.28 kB / 355.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.01538, allocations: 0.5273 MB / 356.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.873e-05/0.01541, allocations: 23.98 kB / 356.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.102e-05/0.01546, allocations: 65.75 kB / 356.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.996e-05/0.01554, allocations: 90.84 kB / 356.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01555, allocations: 0 / 356.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001532/0.0157, allocations: 153.3 kB / 356.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.01571, allocations: 4 kB / 356.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01571, allocations: 0.75 kB / 356.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.01572, allocations: 8.062 kB / 356.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.806e-05/0.01581, allocations: 31.92 kB / 356.7 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.01581, allocations: 4 kB / 356.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.334e-05/0.01587, allocations: 11.98 kB / 356.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.01587, allocations: 4 kB / 356.7 MB, free: 1.055 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.391e-05/0.01594, allocations: 172.5 kB / 356.9 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.01597, allocations: 35.81 kB / 356.9 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.01616, allocations: 176.3 kB / 357.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01616, allocations: 0 / 357.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01617, allocations: 4 kB / 357.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01617, allocations: 4 kB / 357.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.0186, allocations: 0.6056 MB / 357.7 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.0186, allocations: 4 kB / 357.7 MB, free: 0 / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.098e-05/0.01868, allocations: 27.92 kB / 357.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.01868, allocations: 0 / 357.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.01869, allocations: 4 kB / 357.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.0187, allocations: 4 kB / 357.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.0187, allocations: 0 / 357.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.01901, allocations: 462.2 kB / 358.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.01904, allocations: 27.81 kB / 358.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.01907, allocations: 0 / 358.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.01918, allocations: 15.92 kB / 358.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.01922, allocations: 15.92 kB / 358.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.01924, allocations: 11.98 kB / 358.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.0194, allocations: 250.9 kB / 358.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0194, allocations: 0 / 358.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003098/0.01971, allocations: 36 kB / 358.5 MB, free: 15.13 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001074/0.02078, allocations: 449.1 kB / 359 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.02095, allocations: 83.5 kB / 359.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.02095, allocations: 0 / 359.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-05/0.02102, allocations: 55.59 kB / 359.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.02146, allocations: 64.84 kB / 359.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/0.02202, allocations: 441.2 kB / 359.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.398e-05/0.02211, allocations: 99.95 kB / 359.7 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.664e-05/0.02218, allocations: 29.61 kB / 359.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.02231, allocations: 110.2 kB / 359.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02231, allocations: 0 / 359.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of Templates: time 0.005886/0.0282, allocations: 3.265 MB / 363.1 MB, free: 10.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.1975818159990013]