Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.0009298/0.0009298, 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.001013/0.001013, 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.8956/0.8956, 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.2442/0.2442, 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.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.881e-05, allocations: 3.547 kB / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.00322/0.003249, allocations: 1.651 MB / 441.3 MB, free: 2.566 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.004616, allocations: 1.254 MB / 442.5 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.00468, allocations: 0 / 442.5 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.004887, allocations: 19.8 kB / 442.5 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.005251, allocations: 91.55 kB / 442.6 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.005546, allocations: 139.2 kB / 442.8 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.005683, allocations: 71.78 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.798e-05/0.005781, allocations: 11.98 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/0.005845, allocations: 39.89 kB / 442.9 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.318e-05/0.005938, allocations: 27.91 kB / 442.9 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.005953, allocations: 8 kB / 442.9 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.006109, allocations: 95.81 kB / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.006169, allocations: 19.92 kB / 443 MB, free: 0.793 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.0062, allocations: 19.92 kB / 443 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.006425, allocations: 155.5 kB / 443.2 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.006429, allocations: 3.938 kB / 443.2 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.00643, allocations: 7.938 kB / 443.2 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.006435, allocations: 0 / 443.2 MB, free: 0.6094 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000461/0.006896, allocations: 349.5 kB / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.006936, allocations: 8.031 kB / 443.6 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.432e-05/0.00697, allocations: 38.75 kB / 443.6 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.007017, allocations: 12.88 kB / 443.6 MB, free: 176 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.007227, allocations: 132.2 kB / 443.7 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.007239, allocations: 4.375 kB / 443.7 MB, free: 16 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.007261, allocations: 4.328 kB / 443.7 MB, free: 12 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1644/0.1717, allocations: 94.73 kB / 443.8 MB, free: 43.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1717, allocations: 2.625 kB / 443.8 MB, free: 43.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1717, allocations: 2.688 kB / 443.8 MB, free: 43.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1717, allocations: 3.328 kB / 443.8 MB, free: 43.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.121e-05/0.1718, allocations: 38.86 kB / 443.9 MB, free: 43.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.1721, allocations: 264.7 kB / 444.1 MB, free: 43.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.508e-05/0.1722, allocations: 45.53 kB / 444.2 MB, free: 43.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/0.1723, allocations: 22.77 kB / 444.2 MB, free: 43.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1723, allocations: 0 / 444.2 MB, free: 43.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.1723, allocations: 37.81 kB / 444.2 MB, free: 43.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1723, allocations: 0.9844 kB / 444.2 MB, free: 43.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005481/0.1729, allocations: 210.8 kB / 444.4 MB, free: 43.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.1729, allocations: 81.61 kB / 444.5 MB, free: 43.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.173, allocations: 154.4 kB / 444.7 MB, free: 43.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.173, allocations: 30.05 kB / 444.7 MB, free: 43.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.1731, allocations: 101.3 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.1731, allocations: 23.27 kB / 444.8 MB, free: 43.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.1731, allocations: 19.44 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.149e-05/0.1731, allocations: 320.1 kB / 445.2 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.98e-05/0.1732, allocations: 37.3 kB / 445.2 MB, free: 42.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.22e-05/0.1733, allocations: 72.55 kB / 445.3 MB, free: 42.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.1734, allocations: 78.81 kB / 445.3 MB, free: 42.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1734, allocations: 0 / 445.3 MB, free: 42.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001423/0.1735, allocations: 117.2 kB / 445.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1735, allocations: 3 kB / 445.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1735, allocations: 2.875 kB / 445.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1735, allocations: 4.5 kB / 445.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-05/0.1736, allocations: 31.12 kB / 445.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1736, allocations: 0 / 445.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.1737, allocations: 9.156 kB / 445.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.1737, allocations: 6.312 kB / 445.5 MB, free: 42.73 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 (7): * Single equations (assignments): 7 * 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.797e-05/0.1737, allocations: 115.3 kB / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.1737, allocations: 6.891 kB / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.1739, allocations: 136.8 kB / 445.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1739, allocations: 3.938 kB / 445.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1739, allocations: 2.938 kB / 445.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.174, allocations: 0 / 445.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.1742, allocations: 354.2 kB / 446.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1742, allocations: 0 / 446.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.1743, allocations: 30.12 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1743, allocations: 0 / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.1743, allocations: 0 / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1743, allocations: 2.969 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1743, allocations: 0.7812 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.1744, allocations: 213 kB / 446.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.1744, allocations: 14.28 kB / 446.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.1745, allocations: 3.438 kB / 446.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.068e-05/0.1745, allocations: 13.03 kB / 446.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.1745, allocations: 8.734 kB / 446.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1745, allocations: 5.25 kB / 446.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.1746, allocations: 119.9 kB / 446.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1746, allocations: 0.5 kB / 446.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.1748, allocations: 43.31 kB / 446.6 MB, free: 42.09 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 (7): * Single equations (assignments): 7 * 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.001016/0.1758, allocations: 1.178 MB / 447.7 MB, free: 41.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.176, allocations: 77.36 kB / 447.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.176, allocations: 0 / 447.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.784e-05/0.1761, allocations: 50.3 kB / 447.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.1763, allocations: 22.88 kB / 447.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.1774, allocations: 1.593 MB / 449.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.664e-05/0.1775, allocations: 86.3 kB / 449.6 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.847e-05/0.1775, allocations: 17 kB / 449.6 MB, free: 40.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.1776, allocations: 35.41 kB / 449.6 MB, free: 40.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1776, allocations: 5.531 kB / 449.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.1939, allocations: 4.285 MB / 453.9 MB, free: 38.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/7.158, allocations: 10.81 kB / 453.9 MB, free: 38.62 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.246821737848222]