Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.001624/0.001624, allocations: 81.86 kB / 21.42 MB, free: 3.078 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.001475/0.001475, allocations: 168.5 kB / 24.82 MB, free: 8.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.048/1.048, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2843/0.2843, allocations: 34.26 MB / 296.1 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 378.6 MB, free: 2.344 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.142e-05, allocations: 2.312 kB / 378.6 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002757/0.002779, allocations: 2.315 MB / 380.9 MB, free: 12 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.004809, allocations: 1.357 MB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.004945, allocations: 7.938 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004799/0.005425, allocations: 294.8 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000478/0.005903, allocations: 350.5 kB / 382.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.006194, allocations: 223.3 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.006612, allocations: 0.5724 MB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.006733, allocations: 37.27 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.006995, allocations: 299.1 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.007221, allocations: 263.3 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.007256, allocations: 20 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.849e-05/0.007354, allocations: 63.86 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.00746, allocations: 123.5 kB / 384.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.382e-05/0.007553, allocations: 99.56 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.007854, allocations: 326.6 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.007855, allocations: 0 / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007856, allocations: 0 / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.007861, allocations: 0 / 384.9 MB, free: 12 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007903/0.008651, allocations: 0.8379 MB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.008695, allocations: 12.03 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.036e-05/0.008786, allocations: 68.56 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.009144, allocations: 355.1 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.009172, allocations: 4.375 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.009207, allocations: 24.3 kB / 386.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.009448, allocations: 201.7 kB / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.009463, allocations: 3.938 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.009477, allocations: 8 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.009484, allocations: 0 / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.001e-05/0.009564, allocations: 59.88 kB / 386.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007078/0.01027, allocations: 0.945 MB / 387.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.01054, allocations: 259.6 kB / 387.6 MB, free: 9.039 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.601e-05/0.01061, allocations: 74.41 kB / 387.7 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.01064, allocations: 12 kB / 387.7 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.01089, allocations: 207.2 kB / 387.9 MB, free: 8.695 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.353e-06/0.01089, allocations: 0 / 387.9 MB, free: 8.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.0008471/0.01174, allocations: 0.5724 MB / 388.5 MB, free: 8.117 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.01181, allocations: 166.1 kB / 388.7 MB, free: 7.918 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007697/0.01258, allocations: 0.557 MB / 389.2 MB, free: 7.344 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.01261, allocations: 41.7 kB / 389.3 MB, free: 7.297 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.01276, allocations: 295.6 kB / 389.5 MB, free: 7.004 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/0.01284, allocations: 135 kB / 389.7 MB, free: 6.871 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-05/0.01291, allocations: 75.81 kB / 389.8 MB, free: 6.789 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.01308, allocations: 0.5624 MB / 390.3 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.157e-05/0.01314, allocations: 44.97 kB / 390.4 MB, free: 6.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.01326, allocations: 157.7 kB / 390.5 MB, free: 5.977 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.01344, allocations: 232.9 kB / 390.7 MB, free: 5.707 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01344, allocations: 0 / 390.7 MB, free: 5.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003062/0.01374, allocations: 320.9 kB / 391.1 MB, free: 5.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.01376, allocations: 4 kB / 391.1 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.01377, allocations: 4 kB / 391.1 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.01378, allocations: 8.156 kB / 391.1 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.01395, allocations: 87.83 kB / 391.2 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01396, allocations: 4 kB / 391.2 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.705e-05/0.01406, allocations: 19.98 kB / 391.2 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.01407, allocations: 12 kB / 391.2 MB, free: 5.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001396/0.01421, allocations: 203 kB / 391.4 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.01428, allocations: 75.58 kB / 391.5 MB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000438/0.01472, allocations: 378.1 kB / 391.8 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.01472, allocations: 11.94 kB / 391.8 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01473, allocations: 3.938 kB / 391.8 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.01473, allocations: 4 kB / 391.9 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009341/0.01567, allocations: 1.317 MB / 393.2 MB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.01567, allocations: 4 kB / 393.2 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.072e-05/0.01576, allocations: 51.92 kB / 393.2 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.01577, allocations: 4 kB / 393.2 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.01579, allocations: 24.14 kB / 393.2 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.01579, allocations: 4 kB / 393.3 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.01579, allocations: 7.938 kB / 393.3 MB, free: 3.098 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/0.01633, allocations: 1.006 MB / 394.3 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.01637, allocations: 59.56 kB / 394.3 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.01641, allocations: 15.98 kB / 394.3 MB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.0166, allocations: 19.98 kB / 394.4 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.01666, allocations: 35.89 kB / 394.4 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.01668, allocations: 20.36 kB / 394.4 MB, free: 1.895 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000215/0.0169, allocations: 374.6 kB / 394.8 MB, free: 1.531 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0169, allocations: 0 / 394.8 MB, free: 1.531 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003307/0.01723, allocations: 87.98 kB / 394.9 MB, free: 1.445 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0009129/0.01814, allocations: 459.9 kB / 395.3 MB, free: 1.156 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.01838, allocations: 208.4 kB / 395.5 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01838, allocations: 4.312 kB / 395.5 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.0185, allocations: 127.5 kB / 395.6 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/0.01913, allocations: 159.8 kB / 395.8 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.02054, allocations: 0.8669 MB / 396.7 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.02065, allocations: 137.9 kB / 396.8 MB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.02078, allocations: 87.38 kB / 396.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.02099, allocations: 178.1 kB / 397.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02099, allocations: 0 / 397.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of Templates: time 0.00982/0.03081, allocations: 6.87 MB / 403.9 MB, free: 8.574 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.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.483650378882885]