Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.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.001632/0.001632, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002019/0.002019, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 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 1.554/1.554, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] 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.2356/0.2356, allocations: 46.92 MB / 357 MB, free: 10.16 MB / 286.1 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.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003184/0.003184, allocations: 87.86 kB / 0.491 GB, free: 7.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1681, allocations: 66.04 MB / 0.5555 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003992/0.1721, allocations: 1.886 MB / 0.5573 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1736, allocations: 0.7126 MB / 0.558 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.1738, allocations: 4 kB / 0.558 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005585/0.1743, allocations: 171.4 kB / 0.5582 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006399/0.175, allocations: 183.2 kB / 0.5584 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009461/0.1759, allocations: 312.5 kB / 0.5587 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004595/0.1764, allocations: 239.4 kB / 0.5589 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.1766, allocations: 49.64 kB / 0.5589 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.1768, allocations: 99.67 kB / 0.559 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.177, allocations: 163.5 kB / 0.5592 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.1771, allocations: 12 kB / 0.5592 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.1772, allocations: 43.98 kB / 0.5592 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.1773, allocations: 111.6 kB / 0.5593 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.1775, allocations: 127 kB / 0.5595 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004382/0.1779, allocations: 306.5 kB / 0.5598 GB, free: 1.082 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1779, allocations: 0 / 0.5598 GB, free: 1.082 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1779, allocations: 0 / 0.5598 GB, free: 1.082 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1779, allocations: 0 / 0.5598 GB, free: 1.082 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001083/0.179, allocations: 0.6921 MB / 0.5604 GB, free: 344 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1791, allocations: 8.031 kB / 0.5604 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.1791, allocations: 42.73 kB / 0.5605 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.1792, allocations: 44.7 kB / 0.5605 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.1796, allocations: 370.5 kB / 0.5609 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1797, allocations: 4.375 kB / 0.5609 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.1797, allocations: 12.38 kB / 0.5609 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.1801, allocations: 183.7 kB / 0.5611 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1802, allocations: 3.938 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1802, allocations: 4 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1802, allocations: 4 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/0.1807, allocations: 155.8 kB / 0.5612 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.1818, allocations: 0.6566 MB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.1822, allocations: 149.1 kB / 0.562 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.1825, allocations: 81.77 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.1825, allocations: 0 / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.1825, allocations: 42.5 kB / 0.5621 GB, free: 14.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.1825, allocations: 0 / 0.5621 GB, free: 14.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.002773/0.1853, allocations: 0.8002 MB / 0.5629 GB, free: 13.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.1854, allocations: 77.11 kB / 0.563 GB, free: 13.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000684/0.186, allocations: 0.5994 MB / 0.5636 GB, free: 12.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.1861, allocations: 29.7 kB / 0.5636 GB, free: 12.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.1862, allocations: 204.5 kB / 0.5638 GB, free: 12.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/0.1863, allocations: 67.64 kB / 0.5639 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/0.1864, allocations: 37.7 kB / 0.5639 GB, free: 12.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1866, allocations: 354.7 kB / 0.5642 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004816/0.187, allocations: 135.9 kB / 0.5644 GB, free: 12.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004856/0.1875, allocations: 149.6 kB / 0.5645 GB, free: 11.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009272/0.1884, allocations: 297.4 kB / 0.5648 GB, free: 11.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1885, allocations: 4 kB / 0.5648 GB, free: 11.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001086/0.1895, allocations: 369 kB / 0.5651 GB, free: 11.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1896, allocations: 11.98 kB / 0.5652 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1896, allocations: 0 / 0.5652 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1896, allocations: 192 / 0.5652 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.1899, allocations: 67.88 kB / 0.5652 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1899, allocations: 3.938 kB / 0.5652 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.1902, allocations: 43.94 kB / 0.5653 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1902, allocations: 8 kB / 0.5653 GB, free: 11.14 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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 0.0001896/0.1904, allocations: 181.8 kB / 0.5654 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-05/0.1905, allocations: 39.7 kB / 0.5655 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.1917, allocations: 428.6 kB / 0.5659 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1917, allocations: 0 / 0.5659 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1917, allocations: 4.75 kB / 0.5659 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1917, allocations: 0 / 0.5659 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.1935, allocations: 0.923 MB / 0.5668 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1935, allocations: 0 / 0.5668 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.1938, allocations: 59.94 kB / 0.5669 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1938, allocations: 4 kB / 0.5669 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1938, allocations: 8 kB / 0.5669 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1938, allocations: 0 / 0.5669 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1938, allocations: 0 / 0.5669 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.195, allocations: 0.539 MB / 0.5674 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.1951, allocations: 128.8 kB / 0.5675 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.1952, allocations: 11.94 kB / 0.5675 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.1955, allocations: 35.95 kB / 0.5676 GB, free: 8.695 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.1956, allocations: 19.97 kB / 0.5676 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1956, allocations: 11.94 kB / 0.5676 GB, free: 8.664 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005057/0.1961, allocations: 455 kB / 0.568 GB, free: 8.223 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1961, allocations: 0 / 0.568 GB, free: 8.223 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003509/0.1964, allocations: 51.94 kB / 0.5681 GB, free: 8.172 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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.002914/0.1993, allocations: 1.37 MB / 0.5694 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.2004, allocations: 302.3 kB / 0.5697 GB, free: 6.621 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2004, allocations: 0 / 0.5697 GB, free: 6.621 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005213/0.2009, allocations: 163.7 kB / 0.5699 GB, free: 6.461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.2015, allocations: 52.28 kB / 0.5699 GB, free: 6.414 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007016/0.2085, allocations: 4.33 MB / 0.5741 GB, free: 1.988 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.209, allocations: 0.8104 MB / 0.5749 GB, free: 1.152 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001849/0.2092, allocations: 74.55 kB / 0.575 GB, free: 1.082 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.2094, allocations: 123.4 kB / 0.5751 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2094, allocations: 0 / 0.5751 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03396/0.2433, allocations: 7.955 MB / 0.5829 GB, free: 9.078 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/8.522, allocations: 15.38 kB / 0.5829 GB, free: 9.066 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv --start-time -1 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009994 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/OneSidedDerivative2D/OneSidedDerivative2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv failed! Error: Could not read variable der2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv. Warning: Get data of variable der2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv failed! Error: Could not read variable der4.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv. Warning: Get data of variable der4.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv failed! Error: Could not read variable der1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv. Warning: Get data of variable der1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv failed! Error: Could not read variable der3.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv. Warning: Get data of variable der3.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.190341713954695]