Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000826/0.000826, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8791/0.8791, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 34.23 MB / 294.8 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 3.938 kB / 442.2 MB, free: 1.492 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.276e-05, allocations: 4.672 kB / 442.3 MB, free: 1.488 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.1619/0.1619, allocations: 1.705 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.1633, allocations: 0.97 MB / 444.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/0.1633, allocations: 2.906 kB / 444.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1636, allocations: 43.73 kB / 445 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.1639, allocations: 102 kB / 445.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.1641, allocations: 77.27 kB / 445.1 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.1643, allocations: 105.4 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1644, allocations: 6.688 kB / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.647e-05/0.1645, allocations: 61.36 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.511e-05/0.1645, allocations: 28.34 kB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.1646, allocations: 2.875 kB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.281e-05/0.1647, allocations: 43.38 kB / 445.4 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.1647, allocations: 28.33 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.1648, allocations: 19.34 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.1649, allocations: 118.8 kB / 445.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1649, allocations: 3.375 kB / 445.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1649, allocations: 0 / 445.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.165, allocations: 1.781 kB / 445.6 MB, free: 42.87 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.0004491/0.1654, allocations: 356.2 kB / 445.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1654, allocations: 9.875 kB / 445.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.426e-05/0.1655, allocations: 30.75 kB / 445.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.1655, allocations: 15.33 kB / 446 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1657, allocations: 156.4 kB / 446.1 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1657, allocations: 1.219 kB / 446.1 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.1658, allocations: 6.719 kB / 446.1 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.1659, allocations: 59.3 kB / 446.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1659, allocations: 0.7031 kB / 446.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1659, allocations: 4.125 kB / 446.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1659, allocations: 2.531 kB / 446.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.714e-05/0.166, allocations: 18.89 kB / 446.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.1663, allocations: 254.8 kB / 446.5 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.1664, allocations: 59.84 kB / 446.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/0.1664, allocations: 24.89 kB / 446.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.1665, allocations: 0 / 446.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.1666, allocations: 79.69 kB / 446.6 MB, free: 42.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.1666, allocations: 3.312 kB / 446.6 MB, free: 42.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004759/0.1671, allocations: 175.4 kB / 446.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.1671, allocations: 58.28 kB / 446.8 MB, free: 41.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.1672, allocations: 217 kB / 447.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.1673, allocations: 28.7 kB / 447.1 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.1673, allocations: 105 kB / 447.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.1673, allocations: 21.52 kB / 447.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.1674, allocations: 28.97 kB / 447.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.964e-05/0.1674, allocations: 324.8 kB / 447.6 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.275e-05/0.1674, allocations: 21.47 kB / 447.6 MB, free: 41.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.973e-05/0.1675, allocations: 36.94 kB / 447.6 MB, free: 41.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.873e-05/0.1676, allocations: 72.69 kB / 447.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1676, allocations: 0 / 447.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001388/0.1677, allocations: 101 kB / 447.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1677, allocations: 9.25 kB / 447.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1677, allocations: 3.422 kB / 447.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1678, allocations: 6.75 kB / 447.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.1678, allocations: 17.22 kB / 447.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1678, allocations: 0 / 447.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/0.1679, allocations: 9.734 kB / 447.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1679, allocations: 5.062 kB / 447.8 MB, free: 41.23 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.798e-05/0.1679, allocations: 134 kB / 448 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.168, allocations: 9.672 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.1681, allocations: 127.1 kB / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1681, allocations: 0 / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1681, allocations: 0 / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1681, allocations: 4 kB / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.1683, allocations: 377.7 kB / 448.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1683, allocations: 3.328 kB / 448.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.016e-05/0.1684, allocations: 8.562 kB / 448.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1684, allocations: 2.906 kB / 448.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1684, allocations: 4 kB / 448.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1684, allocations: 2.781 kB / 448.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1684, allocations: 0 / 448.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.1685, allocations: 217.9 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.1685, allocations: 10.86 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.1685, allocations: 6.125 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.1685, allocations: 2.875 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.1686, allocations: 18.09 kB / 448.7 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.1686, allocations: 2.938 kB / 448.7 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.742e-05/0.1687, allocations: 156 kB / 448.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1687, allocations: 0 / 448.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001668/0.1688, allocations: 31.12 kB / 448.9 MB, free: 40.45 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.0008572/0.1697, allocations: 1.132 MB / 450.1 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.1698, allocations: 60.88 kB / 450.1 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1698, allocations: 2.75 kB / 450.1 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.1698, allocations: 26.97 kB / 450.1 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.1701, allocations: 37.3 kB / 450.2 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009185/0.171, allocations: 1.704 MB / 451.9 MB, free: 38.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.1e-05/0.171, allocations: 98.45 kB / 452 MB, free: 38.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.501e-05/0.1711, allocations: 15.92 kB / 452 MB, free: 38.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.1711, allocations: 46.83 kB / 452 MB, free: 38.14 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1711, allocations: 3.938 kB / 452 MB, free: 38.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.1857, allocations: 4.329 MB / 456.4 MB, free: 36.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.051/7.236, allocations: 2.578 kB / 456.4 MB, free: 36.71 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.302707325667143]