Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.0008287/0.0008287, 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.001212/0.001212, 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.9513/0.9513, 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.2416/0.2416, allocations: 32.79 MB / 293.5 MB, free: 1.215 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.316e-05/7.471e-05, allocations: 6.219 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002098/0.002172, allocations: 1.6 MB / 441.2 MB, free: 2.633 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.003292, allocations: 1.25 MB / 442.4 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.326e-05/0.003345, allocations: 0 / 442.4 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.003546, allocations: 23.8 kB / 442.5 MB, free: 1.352 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.003821, allocations: 91.48 kB / 442.6 MB, free: 1.262 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.004054, allocations: 120.2 kB / 442.7 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.004173, allocations: 67.83 kB / 442.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.475e-05/0.004258, allocations: 11.98 kB / 442.8 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.004312, allocations: 27.92 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.493e-05/0.004397, allocations: 32.59 kB / 442.8 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.00441, allocations: 4 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.00453, allocations: 87.83 kB / 442.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.238e-05/0.004573, allocations: 15.92 kB / 442.9 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.004598, allocations: 15.92 kB / 442.9 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.004787, allocations: 147.5 kB / 443.1 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.00479, allocations: 0 / 443.1 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.004791, allocations: 8 kB / 443.1 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.004795, allocations: 0 / 443.1 MB, free: 0.7383 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.000374/0.005169, allocations: 325.6 kB / 443.4 MB, free: 400 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.005202, allocations: 8.031 kB / 443.4 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.005231, allocations: 34.75 kB / 443.4 MB, free: 348 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.005258, allocations: 4.891 kB / 443.5 MB, free: 344 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.005398, allocations: 145.6 kB / 443.6 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.005405, allocations: 384 / 443.6 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.005423, allocations: 4.375 kB / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.00554, allocations: 89.66 kB / 443.7 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.00555, allocations: 4.188 kB / 443.7 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.005558, allocations: 3.938 kB / 443.7 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.005563, allocations: 4 kB / 443.7 MB, free: 48 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.034e-05/0.005613, allocations: 19.98 kB / 443.7 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1717/0.1773, allocations: 247.8 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.1775, allocations: 47.55 kB / 444 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.818e-05/0.1775, allocations: 13.3 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.1775, allocations: 3.031 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.1776, allocations: 42.08 kB / 444.1 MB, free: 46.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.1776, allocations: 0 / 444.1 MB, free: 46.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000451/0.178, allocations: 147.4 kB / 444.2 MB, free: 46.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.1781, allocations: 83.98 kB / 444.3 MB, free: 46.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1782, allocations: 146.5 kB / 444.4 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.605e-06/0.1782, allocations: 26.2 kB / 444.5 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.1782, allocations: 95.3 kB / 444.6 MB, free: 45.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.1782, allocations: 18.59 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.1783, allocations: 19.28 kB / 444.6 MB, free: 45.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.903e-05/0.1783, allocations: 317.5 kB / 444.9 MB, free: 45.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.405e-05/0.1784, allocations: 29.98 kB / 444.9 MB, free: 45.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-05/0.1784, allocations: 57.55 kB / 445 MB, free: 45.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.774e-05/0.1785, allocations: 54.17 kB / 445 MB, free: 45.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1785, allocations: 0.5312 kB / 445 MB, free: 45.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001117/0.1786, allocations: 94.56 kB / 445.1 MB, free: 45.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1786, allocations: 6 kB / 445.1 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1786, allocations: 0 / 445.1 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1786, allocations: 0 / 445.1 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.67e-05/0.1787, allocations: 12.2 kB / 445.1 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1787, allocations: 5.844 kB / 445.2 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.1787, allocations: 9.516 kB / 445.2 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1787, allocations: 0 / 445.2 MB, free: 45.51 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 5.972e-05/0.1788, allocations: 122.4 kB / 445.3 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.1788, allocations: 10.73 kB / 445.3 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.179, allocations: 97.03 kB / 445.4 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.179, allocations: 0 / 445.4 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.179, allocations: 4.875 kB / 445.4 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.179, allocations: 0 / 445.4 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.1793, allocations: 324.6 kB / 445.7 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1793, allocations: 6.234 kB / 445.7 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.1793, allocations: 16.38 kB / 445.7 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1793, allocations: 0 / 445.7 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.1793, allocations: 3.188 kB / 445.7 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1793, allocations: 3.125 kB / 445.7 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1793, allocations: 2.875 kB / 445.7 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.1794, allocations: 183.5 kB / 445.9 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.1794, allocations: 9.703 kB / 445.9 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.1794, allocations: 2.75 kB / 445.9 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.954e-05/0.1795, allocations: 9.875 kB / 445.9 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.1795, allocations: 2.875 kB / 445.9 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1795, allocations: 3.938 kB / 445.9 MB, free: 44.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.381e-05/0.1796, allocations: 112.6 kB / 446.1 MB, free: 44.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1796, allocations: 2.344 kB / 446.1 MB, free: 44.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.1798, allocations: 43.77 kB / 446.1 MB, free: 44.88 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.001045/0.1808, allocations: 1.152 MB / 447.3 MB, free: 44.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.181, allocations: 48.86 kB / 447.3 MB, free: 44.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.181, allocations: 0 / 447.3 MB, free: 44.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/0.181, allocations: 34.27 kB / 447.3 MB, free: 44.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.1813, allocations: 17.69 kB / 447.4 MB, free: 44.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009077/0.1822, allocations: 1.457 MB / 448.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.371e-05/0.1823, allocations: 85.25 kB / 448.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.182e-05/0.1823, allocations: 21.75 kB / 448.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.1824, allocations: 27.3 kB / 448.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of SimCode: time 9.51e-07/0.1824, allocations: 0 / 448.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.203, allocations: 4.011 MB / 453 MB, free: 41.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.736/6.939, allocations: 14.53 kB / 453 MB, free: 41.37 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.10444391798228]