Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.0008721/0.0008721, 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.001265/0.001265, 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.9067/0.9067, 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.2348/0.2348, 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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.13e-05, allocations: 8.469 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002322/0.002343, allocations: 1.712 MB / 441.4 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.003446, allocations: 0.9741 MB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.078e-05/0.003517, allocations: 0 / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.003796, allocations: 39.81 kB / 442.4 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.0041, allocations: 103.4 kB / 442.5 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.004275, allocations: 75.67 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.004454, allocations: 115.5 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.944e-05/0.004553, allocations: 4 kB / 442.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.898e-05/0.004632, allocations: 51.89 kB / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.004705, allocations: 23.91 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.004721, allocations: 7.938 kB / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.926e-05/0.0048, allocations: 47.86 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.505e-05/0.004865, allocations: 27.91 kB / 442.8 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.004899, allocations: 15.94 kB / 442.9 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.005073, allocations: 123.6 kB / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005075, allocations: 0 / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005077, allocations: 0 / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.005081, allocations: 0 / 443 MB, free: 0.8203 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.0004546/0.005535, allocations: 353.5 kB / 443.3 MB, free: 456 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.005578, allocations: 8.031 kB / 443.3 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.005608, allocations: 34.69 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.00564, allocations: 8.891 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.005831, allocations: 154.2 kB / 443.5 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.005844, allocations: 4.375 kB / 443.5 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.005863, allocations: 8.312 kB / 443.5 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.005982, allocations: 65.97 kB / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.005992, allocations: 0 / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.006, allocations: 0 / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.006004, allocations: 0 / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.41e-05/0.006058, allocations: 19.98 kB / 443.6 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1709/0.1769, allocations: 252.5 kB / 443.9 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.1771, allocations: 56.52 kB / 443.9 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.1771, allocations: 19.66 kB / 443.9 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.1771, allocations: 5.406 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.1772, allocations: 68.94 kB / 444 MB, free: 46.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.1772, allocations: 0 / 444 MB, free: 46.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003702/0.1776, allocations: 186.3 kB / 444.2 MB, free: 46.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.855e-05/0.1776, allocations: 54.97 kB / 444.3 MB, free: 46.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.1777, allocations: 203.8 kB / 444.5 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.1777, allocations: 32.3 kB / 444.5 MB, free: 46.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.1777, allocations: 107.3 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.1778, allocations: 22.2 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.1778, allocations: 22.67 kB / 444.6 MB, free: 45.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.925e-05/0.1778, allocations: 328.8 kB / 445 MB, free: 45.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.374e-05/0.1779, allocations: 23.8 kB / 445 MB, free: 45.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.1779, allocations: 37.69 kB / 445 MB, free: 45.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.421e-05/0.1779, allocations: 59.7 kB / 445.1 MB, free: 45.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.178, allocations: 0 / 445.1 MB, free: 45.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.708e-05/0.178, allocations: 112.2 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.1781, allocations: 6.406 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1781, allocations: 7.094 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.1781, allocations: 0 / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.23e-05/0.1781, allocations: 14.59 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1781, allocations: 3.203 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.808e-05/0.1782, allocations: 9.438 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1782, allocations: 6.844 kB / 445.2 MB, free: 45.52 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.713e-05/0.1782, allocations: 123.2 kB / 445.3 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.1782, allocations: 17.09 kB / 445.4 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.1784, allocations: 122.3 kB / 445.5 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1784, allocations: 7.719 kB / 445.5 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1784, allocations: 0 / 445.5 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1784, allocations: 0 / 445.5 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.1786, allocations: 371.2 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1786, allocations: 3.562 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.1786, allocations: 12.09 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1786, allocations: 2.781 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.1786, allocations: 6.156 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1786, allocations: 4.125 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1786, allocations: 0 / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.1787, allocations: 210 kB / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.1787, allocations: 13.88 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.1788, allocations: 7.234 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.1788, allocations: 6.625 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.1788, allocations: 6.391 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.1788, allocations: 6.906 kB / 446.1 MB, free: 44.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.58e-05/0.1789, allocations: 156.5 kB / 446.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1789, allocations: 0 / 446.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.179, allocations: 22.05 kB / 446.3 MB, free: 44.82 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.0008145/0.1799, allocations: 1.147 MB / 447.4 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.18, allocations: 61.06 kB / 447.5 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.18, allocations: 0 / 447.5 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.493e-05/0.18, allocations: 24.52 kB / 447.5 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.1802, allocations: 37.05 kB / 447.6 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008328/0.181, allocations: 1.681 MB / 449.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.211e-05/0.1811, allocations: 90.25 kB / 449.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.264e-05/0.1811, allocations: 17.75 kB / 449.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.876e-05/0.1811, allocations: 40.5 kB / 449.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of SimCode: time 3.8e-07/0.1811, allocations: 0 / 449.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01454/0.1957, allocations: 4.293 MB / 453.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.921/7.117, allocations: 5.984 kB / 453.7 MB, free: 41.17 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_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_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.235152071341872]