Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001855/0.001855, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002271/0.002271, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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.446/1.446, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.2261/0.2261, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.91 kB / 0.491 GB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1292, allocations: 65.99 MB / 0.5555 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003222/0.1325, allocations: 1.756 MB / 0.5572 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.1342, allocations: 1.043 MB / 0.5582 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.1342, allocations: 0 / 0.5582 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.1346, allocations: 103.7 kB / 0.5583 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.135, allocations: 131.5 kB / 0.5584 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.1352, allocations: 79.72 kB / 0.5585 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.1354, allocations: 131.6 kB / 0.5586 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1355, allocations: 19.97 kB / 0.5586 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1356, allocations: 55.77 kB / 0.5587 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.1357, allocations: 75.73 kB / 0.5588 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1357, allocations: 4 kB / 0.5588 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.1359, allocations: 71.84 kB / 0.5588 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.581e-05/0.1359, allocations: 35.91 kB / 0.5589 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.465e-05/0.136, allocations: 47.62 kB / 0.5589 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.1363, allocations: 155.3 kB / 0.5591 GB, free: 2.062 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1363, allocations: 0 / 0.5591 GB, free: 2.062 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1363, allocations: 0 / 0.5591 GB, free: 2.062 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1363, allocations: 3.938 kB / 0.5591 GB, free: 2.059 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007037/0.137, allocations: 462.3 kB / 0.5595 GB, free: 1.559 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.137, allocations: 8.031 kB / 0.5595 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.1371, allocations: 42.73 kB / 0.5596 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.1371, allocations: 16.84 kB / 0.5596 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.1374, allocations: 229 kB / 0.5598 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1375, allocations: 384 / 0.5598 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.1375, allocations: 11.92 kB / 0.5598 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.1377, allocations: 65.61 kB / 0.5599 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1377, allocations: 0 / 0.5599 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1377, allocations: 4 kB / 0.5599 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1377, allocations: 3.984 kB / 0.5599 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.983e-05/0.1378, allocations: 31.97 kB / 0.5599 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.1383, allocations: 320.8 kB / 0.5602 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.1386, allocations: 74.58 kB / 0.5603 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.161e-05/0.1386, allocations: 24.78 kB / 0.5603 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1387, allocations: 8.141 kB / 0.5603 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.1389, allocations: 75.38 kB / 0.5604 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.1389, allocations: 0 / 0.5604 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008404/0.1397, allocations: 277.1 kB / 0.5607 GB, free: 260 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1397, allocations: 55.34 kB / 0.5607 GB, free: 192 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.14, allocations: 255.8 kB / 0.561 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.14, allocations: 29.7 kB / 0.561 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.1401, allocations: 112.1 kB / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.1401, allocations: 47.67 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.1402, allocations: 25.72 kB / 0.5612 GB, free: 15.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1403, allocations: 330.8 kB / 0.5615 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.1404, allocations: 35.98 kB / 0.5615 GB, free: 15.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.82e-05/0.1405, allocations: 45.7 kB / 0.5615 GB, free: 15.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.1407, allocations: 93.69 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1407, allocations: 7.938 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002462/0.1409, allocations: 141.5 kB / 0.5618 GB, free: 15.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1409, allocations: 4 kB / 0.5618 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1409, allocations: 4 kB / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1409, allocations: 4 kB / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.731e-05/0.141, allocations: 31.86 kB / 0.5618 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1411, allocations: 0 / 0.5618 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.005e-05/0.1411, allocations: 7.953 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.1411, allocations: 4 kB / 0.5618 GB, free: 14.98 MB / 430.1 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 (14): * Single equations (assignments): 14 * 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.0001222/0.1412, allocations: 140 kB / 0.562 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.1413, allocations: 19.89 kB / 0.562 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.1413, allocations: 21.41 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1413, allocations: 7.938 kB / 0.562 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1413, allocations: 0 / 0.562 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1413, allocations: 3.984 kB / 0.562 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006/0.1419, allocations: 480 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1419, allocations: 0 / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/0.142, allocations: 12 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.142, allocations: 7.938 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.142, allocations: 4 kB / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.142, allocations: 4 kB / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.142, allocations: 0.7031 kB / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.1423, allocations: 253 kB / 0.5627 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.1424, allocations: 89.02 kB / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.1424, allocations: 7.984 kB / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.1425, allocations: 8 kB / 0.5628 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.1425, allocations: 11.92 kB / 0.5629 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.1425, allocations: 4 kB / 0.5629 GB, free: 13.81 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.1427, allocations: 197.5 kB / 0.563 GB, free: 13.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1427, allocations: 4 kB / 0.5631 GB, free: 13.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.143, allocations: 35.86 kB / 0.5631 GB, free: 13.58 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002405/0.1454, allocations: 1.205 MB / 0.5643 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1456, allocations: 79.91 kB / 0.5643 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1456, allocations: 0 / 0.5643 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.593e-05/0.1457, allocations: 43.92 kB / 0.5644 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.1461, allocations: 31.75 kB / 0.5644 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.1484, allocations: 1.959 MB / 0.5663 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.1488, allocations: 0.7162 MB / 0.567 GB, free: 9.613 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.301e-05/0.1489, allocations: 25.06 kB / 0.567 GB, free: 9.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.214e-05/0.149, allocations: 55.41 kB / 0.5671 GB, free: 9.535 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.149, allocations: 3.938 kB / 0.5671 GB, free: 9.531 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.1743, allocations: 4.215 MB / 0.5712 GB, free: 5.367 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/8.445, allocations: 24.8 kB / 0.5712 GB, free: 5.344 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.641941809997661]