Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001214/0.001214, allocations: 79.69 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.001052/0.001052, 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.89/0.89, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.2461/0.2461, allocations: 32.79 MB / 293.5 MB, free: 1.242 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.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.533e-05, allocations: 6.219 kB / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002111/0.002126, allocations: 1.591 MB / 441.2 MB, free: 2.648 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007133/0.00284, allocations: 0.5297 MB / 441.7 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/0.002896, allocations: 0 / 441.7 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.003106, allocations: 39.7 kB / 441.8 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.003371, allocations: 75.58 kB / 441.8 MB, free: 2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.003636, allocations: 109.5 kB / 441.9 MB, free: 1.895 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.003775, allocations: 67.77 kB / 442 MB, free: 1.828 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.003876, allocations: 11.98 kB / 442 MB, free: 1.816 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.401e-05/0.00394, allocations: 27.92 kB / 442.1 MB, free: 1.789 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.749e-05/0.003997, allocations: 23.91 kB / 442.1 MB, free: 1.766 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.004013, allocations: 4 kB / 442.1 MB, free: 1.762 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.365e-05/0.004087, allocations: 35.92 kB / 442.1 MB, free: 1.727 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.004139, allocations: 11.94 kB / 442.1 MB, free: 1.715 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.004168, allocations: 15.92 kB / 442.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.004334, allocations: 83.66 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.004336, allocations: 0 / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.004338, allocations: 0 / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.004342, allocations: 3.938 kB / 442.2 MB, free: 1.613 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003524/0.004694, allocations: 313.8 kB / 442.5 MB, free: 1.277 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.00473, allocations: 8.031 kB / 442.5 MB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.00476, allocations: 38.75 kB / 442.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.004787, allocations: 12.88 kB / 442.6 MB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.00491, allocations: 133.7 kB / 442.7 MB, free: 1.055 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.004917, allocations: 384 / 442.7 MB, free: 1.055 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.004934, allocations: 4.375 kB / 442.7 MB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.005034, allocations: 46.25 kB / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.005043, allocations: 192 / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.005052, allocations: 15.8 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.005057, allocations: 0 / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.799e-05/0.005115, allocations: 23.98 kB / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.005528, allocations: 252 kB / 443.1 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.005693, allocations: 50.48 kB / 443.1 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.005722, allocations: 20.88 kB / 443.1 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.005741, allocations: 0 / 443.1 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.005759, allocations: 34.56 kB / 443.2 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.72e-07/0.00576, allocations: 0 / 443.2 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003979/0.006158, allocations: 153.3 kB / 443.3 MB, free: 400 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.006191, allocations: 55.41 kB / 443.4 MB, free: 332 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.006314, allocations: 169 kB / 443.5 MB, free: 156 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.006324, allocations: 25.7 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.006364, allocations: 92.14 kB / 443.6 MB, free: 28 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.006385, allocations: 23.78 kB / 443.7 MB, free: 4 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1601/0.1665, allocations: 14.22 kB / 443.7 MB, free: 46.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.1666, allocations: 325.1 kB / 444 MB, free: 46.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1667, allocations: 19.59 kB / 444 MB, free: 46.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.249e-05/0.1667, allocations: 28.31 kB / 444 MB, free: 46.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.543e-05/0.1668, allocations: 50.09 kB / 444.1 MB, free: 46.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1668, allocations: 0 / 444.1 MB, free: 46.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001458/0.1669, allocations: 89.34 kB / 444.2 MB, free: 45.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1669, allocations: 5.812 kB / 444.2 MB, free: 45.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.167, allocations: 0.5625 kB / 444.2 MB, free: 45.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.167, allocations: 0 / 444.2 MB, free: 45.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.167, allocations: 19.03 kB / 444.2 MB, free: 45.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.167, allocations: 2.844 kB / 444.2 MB, free: 45.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.1671, allocations: 3.375 kB / 444.2 MB, free: 45.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1671, allocations: 3.188 kB / 444.2 MB, free: 45.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.557e-05/0.1671, allocations: 120.7 kB / 444.3 MB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.1672, allocations: 13.84 kB / 444.3 MB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.1673, allocations: 97.48 kB / 444.4 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1673, allocations: 1.5 kB / 444.4 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1673, allocations: 3.938 kB / 444.4 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1673, allocations: 2.969 kB / 444.4 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.1676, allocations: 321.4 kB / 444.8 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1676, allocations: 3.844 kB / 444.8 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.1677, allocations: 12.5 kB / 444.8 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1677, allocations: 6.938 kB / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.1677, allocations: 0.625 kB / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1677, allocations: 0 / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1677, allocations: 0 / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.1678, allocations: 191.4 kB / 445 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-06/0.1678, allocations: 2.578 kB / 445 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.1678, allocations: 17.22 kB / 445 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.272e-05/0.1679, allocations: 6.141 kB / 445 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.1679, allocations: 3.031 kB / 445 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.1679, allocations: 0 / 445 MB, free: 45.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.994e-05/0.1679, allocations: 126.2 kB / 445.1 MB, free: 45.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1679, allocations: 0 / 445.1 MB, free: 45.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001755/0.1681, allocations: 14.72 kB / 445.1 MB, free: 45.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008769/0.169, allocations: 1.053 MB / 446.2 MB, free: 44.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.1691, allocations: 49.02 kB / 446.2 MB, free: 44.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1691, allocations: 2.469 kB / 446.2 MB, free: 44.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.522e-05/0.1692, allocations: 28.86 kB / 446.3 MB, free: 44.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.1694, allocations: 23.48 kB / 446.3 MB, free: 44.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1705, allocations: 1.496 MB / 447.8 MB, free: 43.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.322e-05/0.1705, allocations: 85.75 kB / 447.9 MB, free: 43.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.093e-05/0.1706, allocations: 13.97 kB / 447.9 MB, free: 43.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.1706, allocations: 30.55 kB / 447.9 MB, free: 43.41 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1706, allocations: 0 / 447.9 MB, free: 43.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.1853, allocations: 3.33 MB / 451.2 MB, free: 42.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.853/7.038, allocations: 12.2 kB / 451.3 MB, free: 42.11 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.120380223728716]