Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.0008841/0.0008841, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009272/0.0009272, allocations: 170 kB / 23.95 MB, free: 0.6133 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 0.8658/0.8658, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2238/0.2238, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.911e-05, allocations: 8.469 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002338/0.002357, allocations: 1.716 MB / 441.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.003671, allocations: 0.9664 MB / 442.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.003778, allocations: 3.938 kB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.004097, allocations: 35.83 kB / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.004432, allocations: 107.4 kB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.004649, allocations: 75.66 kB / 442.6 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.004831, allocations: 115.6 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.00493, allocations: 4 kB / 442.7 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.46e-05/0.005015, allocations: 55.88 kB / 442.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.005084, allocations: 19.92 kB / 442.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.0051, allocations: 4 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.056e-05/0.005181, allocations: 51.84 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.699e-05/0.005238, allocations: 23.92 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.005276, allocations: 15.94 kB / 442.9 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.005455, allocations: 127.5 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005457, allocations: 0 / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005458, allocations: 0 / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.005463, allocations: 0 / 443 MB, free: 0.8281 MB / 410.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.0004139/0.005877, allocations: 349.4 kB / 443.3 MB, free: 468 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.005917, allocations: 12.03 kB / 443.3 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.005947, allocations: 38.69 kB / 443.4 MB, free: 408 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.00598, allocations: 8.891 kB / 443.4 MB, free: 400 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.006165, allocations: 146.3 kB / 443.5 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.00618, allocations: 8.375 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.006195, allocations: 4.375 kB / 443.5 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.006309, allocations: 61.92 kB / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.006321, allocations: 7.984 kB / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.006329, allocations: 0 / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.006333, allocations: 0 / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.009e-05/0.006383, allocations: 19.98 kB / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1615/0.1679, allocations: 248.4 kB / 443.9 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.168, allocations: 64.02 kB / 443.9 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.168, allocations: 23.62 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.1681, allocations: 2.625 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.1682, allocations: 62.23 kB / 444 MB, free: 46.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1682, allocations: 0 / 444 MB, free: 46.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003932/0.1686, allocations: 187.9 kB / 444.2 MB, free: 46.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.1686, allocations: 54.41 kB / 444.3 MB, free: 46.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.1687, allocations: 207.5 kB / 444.5 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.1687, allocations: 26.95 kB / 444.5 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.1687, allocations: 103.7 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.1687, allocations: 27.84 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.1688, allocations: 25.08 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.041e-05/0.1688, allocations: 326.6 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.129e-05/0.1688, allocations: 22.77 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.1689, allocations: 38 kB / 445 MB, free: 45.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.101e-05/0.1689, allocations: 61.42 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1689, allocations: 3.625 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.67e-05/0.169, allocations: 110.5 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.169, allocations: 5.906 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.169, allocations: 3.844 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1691, allocations: 2.969 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.1691, allocations: 15.02 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1691, allocations: 6.141 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.1692, allocations: 3.125 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.1692, allocations: 9.125 kB / 445.2 MB, free: 45.55 MB / 410.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 4.987e-05/0.1692, allocations: 130.5 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.1692, allocations: 13.73 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.1694, allocations: 122.3 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1694, allocations: 2.688 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1694, allocations: 0 / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1694, allocations: 3.281 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.1696, allocations: 374.2 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1696, allocations: 6.281 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.1696, allocations: 11.98 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1696, allocations: 0 / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1696, allocations: 5.281 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1696, allocations: 1.375 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1696, allocations: 0 / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.578e-05/0.1697, allocations: 216.9 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.1697, allocations: 10.75 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1697, allocations: 2.719 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.745e-05/0.1698, allocations: 9.984 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.1698, allocations: 9.391 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.1698, allocations: 3.094 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.702e-05/0.1699, allocations: 149.2 kB / 446.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1699, allocations: 0 / 446.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.17, allocations: 28 kB / 446.3 MB, free: 44.86 MB / 410.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.0008062/0.1708, allocations: 1.142 MB / 447.4 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.1709, allocations: 64.33 kB / 447.5 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1709, allocations: 2.812 kB / 447.5 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.171, allocations: 28.7 kB / 447.5 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.1712, allocations: 30.59 kB / 447.6 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008653/0.1721, allocations: 1.674 MB / 449.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.397e-05/0.1721, allocations: 94.25 kB / 449.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.282e-05/0.1721, allocations: 21.77 kB / 449.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.1722, allocations: 39.66 kB / 449.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1722, allocations: 0 / 449.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.1858, allocations: 4.287 MB / 453.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.931/7.117, allocations: 5.938 kB / 453.7 MB, free: 41.21 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.108335219323635]