Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.0008301/0.0008301, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008888/0.0008888, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9108/0.9108, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2374/0.2374, 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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.824e-05, allocations: 2.281 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002901/0.002919, allocations: 1.707 MB / 441.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.0046, allocations: 0.978 MB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.004684, allocations: 0 / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.004988, allocations: 35.83 kB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.005357, allocations: 103.4 kB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.00557, allocations: 79.66 kB / 442.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.005761, allocations: 111.6 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.005864, allocations: 11.98 kB / 442.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.005969, allocations: 47.89 kB / 442.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.409e-05/0.006053, allocations: 23.91 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.006072, allocations: 4 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.006176, allocations: 51.8 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.006237, allocations: 23.92 kB / 442.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.006281, allocations: 19.92 kB / 442.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.006498, allocations: 119.6 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.0065, allocations: 0 / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.006501, allocations: 4 kB / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.006506, allocations: 0 / 443 MB, free: 0.8242 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.0004895/0.006996, allocations: 349.5 kB / 443.3 MB, free: 464 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.007037, allocations: 12.03 kB / 443.3 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.007082, allocations: 38.67 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.007119, allocations: 8.891 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.007334, allocations: 150.3 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.007347, allocations: 4.375 kB / 443.5 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.007364, allocations: 4.312 kB / 443.5 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.007482, allocations: 57.98 kB / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.007497, allocations: 11.98 kB / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.007505, allocations: 0 / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.007509, allocations: 0 / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.163e-05/0.007561, allocations: 19.98 kB / 443.6 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1684/0.1759, allocations: 253.8 kB / 443.9 MB, free: 45.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.1761, allocations: 55.25 kB / 443.9 MB, free: 45.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.1761, allocations: 21.78 kB / 443.9 MB, free: 45.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1761, allocations: 6.75 kB / 444 MB, free: 45.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.1763, allocations: 68.08 kB / 444 MB, free: 45.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.1763, allocations: 0 / 444 MB, free: 45.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004667/0.1768, allocations: 186 kB / 444.2 MB, free: 45.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.1768, allocations: 55.41 kB / 444.3 MB, free: 45.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.1769, allocations: 206.1 kB / 444.5 MB, free: 45.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.1769, allocations: 25.7 kB / 444.5 MB, free: 45.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.1769, allocations: 106 kB / 444.6 MB, free: 45.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.177, allocations: 26.77 kB / 444.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.177, allocations: 21.81 kB / 444.6 MB, free: 45.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.361e-05/0.177, allocations: 329.5 kB / 445 MB, free: 45.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.473e-05/0.1771, allocations: 19.2 kB / 445 MB, free: 45.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.8e-05/0.1771, allocations: 40 kB / 445 MB, free: 45.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.581e-05/0.1772, allocations: 63.86 kB / 445.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1772, allocations: 3.281 kB / 445.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001014/0.1773, allocations: 112.3 kB / 445.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1773, allocations: 5.531 kB / 445.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1773, allocations: 2.875 kB / 445.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1773, allocations: 0 / 445.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.441e-05/0.1774, allocations: 16.59 kB / 445.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1774, allocations: 3.203 kB / 445.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.1774, allocations: 2.906 kB / 445.2 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1774, allocations: 7.734 kB / 445.2 MB, free: 45.07 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 5.213e-05/0.1775, allocations: 129.8 kB / 445.4 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.1775, allocations: 14.27 kB / 445.4 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.1776, allocations: 126 kB / 445.5 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1776, allocations: 0 / 445.5 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1776, allocations: 3.094 kB / 445.5 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1776, allocations: 0 / 445.5 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.1779, allocations: 374.2 kB / 445.9 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1779, allocations: 0 / 445.9 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.1779, allocations: 15.31 kB / 445.9 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1779, allocations: 2.875 kB / 445.9 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1779, allocations: 6.031 kB / 445.9 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1779, allocations: 4.25 kB / 445.9 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1779, allocations: 0 / 445.9 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.178, allocations: 213.7 kB / 446.1 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.178, allocations: 10.84 kB / 446.1 MB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.178, allocations: 6.469 kB / 446.1 MB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-05/0.1781, allocations: 3.188 kB / 446.1 MB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.1781, allocations: 9.125 kB / 446.1 MB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.1781, allocations: 6.875 kB / 446.1 MB, free: 44.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.223e-05/0.1782, allocations: 149.1 kB / 446.3 MB, free: 44.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1782, allocations: 3.969 kB / 446.3 MB, free: 44.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000176/0.1784, allocations: 30.11 kB / 446.3 MB, free: 44.41 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.0009015/0.1793, allocations: 1.139 MB / 447.4 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.1794, allocations: 57.67 kB / 447.5 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1794, allocations: 0 / 447.5 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.039e-05/0.1794, allocations: 35.83 kB / 447.5 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.1797, allocations: 23.19 kB / 447.6 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.1807, allocations: 1.682 MB / 449.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.748e-05/0.1807, allocations: 95.17 kB / 449.3 MB, free: 42.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.729e-05/0.1808, allocations: 17.52 kB / 449.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.1808, allocations: 35.14 kB / 449.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1808, allocations: 0 / 449.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.1949, allocations: 4.301 MB / 453.7 MB, free: 40.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.863/7.058, allocations: 6.828 kB / 453.7 MB, free: 40.95 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_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_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.100539004430175]