Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.000818/0.000818, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0008301/0.0008301, 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.8936/0.8936, allocations: 177 MB / 204.1 MB, free: 5.773 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.2402/0.2402, allocations: 34.24 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.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.141e-05, allocations: 6.219 kB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.1688/0.1688, allocations: 1.684 MB / 443.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00084/0.1697, allocations: 0.5517 MB / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.1697, allocations: 0 / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.1699, allocations: 23.41 kB / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.1702, allocations: 87.95 kB / 444.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.1704, allocations: 136 kB / 444.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.1706, allocations: 102.7 kB / 444.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1707, allocations: 7 kB / 444.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.159e-05/0.1708, allocations: 47.81 kB / 444.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/0.1708, allocations: 36.78 kB / 444.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1708, allocations: 8.594 kB / 444.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.171, allocations: 97.34 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.717e-05/0.1711, allocations: 24.83 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.1711, allocations: 24.41 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.1714, allocations: 180.5 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1714, allocations: 0 / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.676e-06/0.1714, allocations: 2.906 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1714, allocations: 3 kB / 445.2 MB, free: 43.05 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.0005748/0.172, allocations: 371.2 kB / 445.5 MB, free: 42.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.172, allocations: 9.062 kB / 445.6 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.172, allocations: 34.09 kB / 445.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.1721, allocations: 11.94 kB / 445.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.1723, allocations: 145.5 kB / 445.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.1723, allocations: 7.156 kB / 445.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1723, allocations: 5.172 kB / 445.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1725, allocations: 123.8 kB / 445.9 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1725, allocations: 192 / 445.9 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1725, allocations: 4.188 kB / 445.9 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1725, allocations: 4.125 kB / 445.9 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.1726, allocations: 67.16 kB / 445.9 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.1729, allocations: 271.5 kB / 446.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.1731, allocations: 66.94 kB / 446.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.395e-05/0.1732, allocations: 45.23 kB / 446.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1732, allocations: 7.312 kB / 446.3 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.1732, allocations: 33.47 kB / 446.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1732, allocations: 4 kB / 446.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008605/0.1741, allocations: 388.8 kB / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.1741, allocations: 81.05 kB / 446.8 MB, free: 42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.1742, allocations: 167.3 kB / 447 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.1742, allocations: 28.73 kB / 447 MB, free: 41.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.1743, allocations: 93.77 kB / 447.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.1743, allocations: 33.7 kB / 447.1 MB, free: 41.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.1743, allocations: 25.84 kB / 447.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.719e-05/0.1744, allocations: 326.1 kB / 447.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.1745, allocations: 67.91 kB / 447.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.1746, allocations: 118 kB / 447.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.1749, allocations: 149.5 kB / 447.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1749, allocations: 0 / 447.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003039/0.1752, allocations: 193.4 kB / 448 MB, free: 41.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1752, allocations: 5.344 kB / 448 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1752, allocations: 2.906 kB / 448 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1752, allocations: 5.953 kB / 448 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1753, allocations: 41.64 kB / 448.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1753, allocations: 2.656 kB / 448.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.1754, allocations: 27.45 kB / 448.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1754, allocations: 0 / 448.1 MB, free: 41.32 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 (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.469e-05/0.1755, allocations: 125.3 kB / 448.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.1755, allocations: 9.453 kB / 448.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.1758, allocations: 206.1 kB / 448.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1758, allocations: 6.906 kB / 448.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1758, allocations: 0 / 448.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1758, allocations: 0 / 448.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.1763, allocations: 462.5 kB / 448.9 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1763, allocations: 0 / 448.9 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.482e-05/0.1764, allocations: 39.28 kB / 448.9 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1764, allocations: 7.062 kB / 448.9 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1764, allocations: 4 kB / 448.9 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1764, allocations: 96 / 448.9 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1764, allocations: 10.22 kB / 448.9 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.1767, allocations: 287.1 kB / 449.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.1767, allocations: 14.03 kB / 449.2 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1767, allocations: 6.875 kB / 449.2 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.56e-05/0.1768, allocations: 21.69 kB / 449.3 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.1769, allocations: 15.34 kB / 449.3 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.1769, allocations: 1.844 kB / 449.3 MB, free: 40.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.75e-05/0.1769, allocations: 125.1 kB / 449.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1769, allocations: 0 / 449.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.1772, allocations: 50.58 kB / 449.4 MB, free: 40.53 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 (9): * Single equations (assignments): 9 * 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.001175/0.1783, allocations: 1.241 MB / 450.7 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003336/0.1787, allocations: 153.7 kB / 450.8 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1787, allocations: 0 / 450.8 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.1788, allocations: 83.06 kB / 450.9 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.1791, allocations: 38.98 kB / 451 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.1806, allocations: 1.859 MB / 452.8 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.864e-05/0.1807, allocations: 87.95 kB / 452.9 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.157e-05/0.1808, allocations: 12.69 kB / 452.9 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.1808, allocations: 43.66 kB / 453 MB, free: 38.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/0.1808, allocations: 384 / 453 MB, free: 38.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.198, allocations: 5.116 MB / 458.1 MB, free: 36.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.122/7.32, allocations: 4.641 kB / 458.1 MB, free: 36.62 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable ramp.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable ramp.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable ramp1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable ramp1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.425527348183095]