Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.0008808/0.0008808, 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.001041/0.001041, allocations: 174 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.9058/0.9058, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2409/0.2409, allocations: 32.8 MB / 293.5 MB, free: 1.234 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.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 3.938 kB / 439.7 MB, free: 4.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.402e-05, allocations: 2.844 kB / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002411/0.002435, allocations: 1.723 MB / 441.4 MB, free: 2.438 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.0036, allocations: 0.978 MB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.542e-05/0.003675, allocations: 0 / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.003951, allocations: 31.84 kB / 442.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.004233, allocations: 103.4 kB / 442.5 MB, free: 1.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.004403, allocations: 79.66 kB / 442.6 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.004559, allocations: 107.6 kB / 442.7 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.004664, allocations: 7.984 kB / 442.7 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.53e-05/0.004749, allocations: 55.84 kB / 442.7 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.00482, allocations: 31.89 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.004836, allocations: 4 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.279e-05/0.004919, allocations: 47.86 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.004972, allocations: 23.86 kB / 442.9 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.005012, allocations: 19.92 kB / 442.9 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.005204, allocations: 119.6 kB / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.005208, allocations: 0 / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.005209, allocations: 0 / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.005214, allocations: 0 / 443 MB, free: 0.832 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.0004535/0.005667, allocations: 357.5 kB / 443.3 MB, free: 464 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.005702, allocations: 8.031 kB / 443.3 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.005738, allocations: 42.69 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.005771, allocations: 8.891 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.006003, allocations: 157.5 kB / 443.6 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.006016, allocations: 4.312 kB / 443.6 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.006035, allocations: 12.36 kB / 443.6 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.006154, allocations: 53.98 kB / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.006163, allocations: 0 / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.006172, allocations: 4 kB / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.006178, allocations: 8 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.207e-05/0.00623, allocations: 23.97 kB / 443.7 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1683/0.1745, allocations: 255 kB / 443.9 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.1747, allocations: 55.42 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.1747, allocations: 25.83 kB / 444 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.1747, allocations: 0.6875 kB / 444 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/0.1748, allocations: 70.09 kB / 444.1 MB, free: 46.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.1748, allocations: 0 / 444.1 MB, free: 46.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004265/0.1753, allocations: 183.5 kB / 444.2 MB, free: 46.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.1753, allocations: 56.84 kB / 444.3 MB, free: 46.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1754, allocations: 213.6 kB / 444.5 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/0.1754, allocations: 25.7 kB / 444.5 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.1755, allocations: 107.5 kB / 444.6 MB, free: 45.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.1755, allocations: 26.38 kB / 444.7 MB, free: 45.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.1755, allocations: 29.8 kB / 444.7 MB, free: 45.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.179e-05/0.1755, allocations: 323.7 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/0.1756, allocations: 21.36 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.585e-05/0.1756, allocations: 35.5 kB / 445.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.537e-05/0.1757, allocations: 62.98 kB / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1757, allocations: 3.344 kB / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001024/0.1758, allocations: 109.2 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1758, allocations: 5.844 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1758, allocations: 0 / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1758, allocations: 3.188 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.1759, allocations: 14.44 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1759, allocations: 6.859 kB / 445.3 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.1759, allocations: 9.828 kB / 445.3 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1759, allocations: 3.812 kB / 445.3 MB, free: 45.56 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.254e-05/0.176, allocations: 130 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.176, allocations: 21.38 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.1761, allocations: 121.8 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1762, allocations: 2.625 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1762, allocations: 0 / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1762, allocations: 0 / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.1764, allocations: 377.9 kB / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1764, allocations: 0 / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.1764, allocations: 8.75 kB / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1764, allocations: 6.656 kB / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.1764, allocations: 2.344 kB / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1764, allocations: 2.719 kB / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1764, allocations: 1.125 kB / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.1765, allocations: 217 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.1766, allocations: 17.19 kB / 446.2 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.1766, allocations: 3.188 kB / 446.2 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.773e-05/0.1766, allocations: 2.75 kB / 446.2 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.1766, allocations: 10.08 kB / 446.2 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.1767, allocations: 9.375 kB / 446.2 MB, free: 44.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.699e-05/0.1767, allocations: 158 kB / 446.3 MB, free: 44.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1767, allocations: 0 / 446.3 MB, free: 44.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000175/0.1769, allocations: 32.28 kB / 446.4 MB, free: 44.84 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.0008635/0.1778, allocations: 1.138 MB / 447.5 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.1779, allocations: 57.44 kB / 447.6 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1779, allocations: 0 / 447.6 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.1779, allocations: 29.12 kB / 447.6 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.1782, allocations: 29.09 kB / 447.6 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000971/0.1791, allocations: 1.721 MB / 449.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.227e-05/0.1792, allocations: 98.66 kB / 449.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.312e-05/0.1792, allocations: 20.3 kB / 449.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.1793, allocations: 39.88 kB / 449.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1793, allocations: 0 / 449.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.196, allocations: 4.348 MB / 453.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.299, allocations: 0 / 453.8 MB, free: 41.18 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.391711234115064]