Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001786/0.001786, allocations: 112 kB / 20.48 MB, free: 1.27 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.002313/0.002313, allocations: 210.1 kB / 23.77 MB, free: 4.445 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.524/1.524, allocations: 230.5 MB / 257.4 MB, free: 7.715 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.2335/0.2335, allocations: 46.96 MB / 360.9 MB, free: 3.867 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.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 87.84 kB / 0.4962 GB, free: 7.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3287, allocations: 66.08 MB / 0.5608 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003191/0.3319, allocations: 1.605 MB / 0.5623 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.3329, allocations: 0.5216 MB / 0.5628 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.833e-05/0.3329, allocations: 0 / 0.5628 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005656/0.3335, allocations: 451.1 kB / 0.5633 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004689/0.334, allocations: 295.3 kB / 0.5636 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.3343, allocations: 121.3 kB / 0.5637 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.3346, allocations: 163.7 kB / 0.5638 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.3347, allocations: 15.92 kB / 0.5638 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.3348, allocations: 115.7 kB / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.3351, allocations: 247.5 kB / 0.5642 GB, free: 480 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.3351, allocations: 4 kB / 0.5642 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-05/0.3352, allocations: 23.98 kB / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.3353, allocations: 80.67 kB / 0.5643 GB, free: 372 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.045e-05/0.3353, allocations: 71.23 kB / 0.5644 GB, free: 300 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.3357, allocations: 280.3 kB / 0.5646 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3357, allocations: 4 kB / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3357, allocations: 0 / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3357, allocations: 0 / 0.5646 GB, free: 16 kB / 398.1 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.0007735/0.3365, allocations: 0.5815 MB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3365, allocations: 12.03 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.3366, allocations: 34.73 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.044e-05/0.3366, allocations: 44.66 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.3369, allocations: 246.8 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3369, allocations: 384 / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.3369, allocations: 4.375 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3371, allocations: 58.19 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3371, allocations: 7.922 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.3371, allocations: 0 / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3371, allocations: 3.984 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.3372, allocations: 27.98 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.3377, allocations: 351.9 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.3378, allocations: 38.5 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.367e-05/0.3379, allocations: 28.94 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.3379, allocations: 0 / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3379, allocations: 30.56 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.3379, allocations: 0 / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.000352/0.3383, allocations: 117.4 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.3383, allocations: 55.41 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009112/0.3392, allocations: 0.8699 MB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3392, allocations: 29.64 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.3394, allocations: 228 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.3394, allocations: 7.891 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.3395, allocations: 17.72 kB / 0.5673 GB, free: 13.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.3397, allocations: 362.8 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-05/0.3397, allocations: 15.98 kB / 0.5677 GB, free: 12.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.287e-05/0.3398, allocations: 11.98 kB / 0.5677 GB, free: 12.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.3399, allocations: 44.77 kB / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3399, allocations: 0 / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002069/0.3401, allocations: 105.4 kB / 0.5678 GB, free: 12.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3401, allocations: 6.031 kB / 0.5679 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3402, allocations: 4 kB / 0.5679 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3402, allocations: 0 / 0.5679 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.827e-05/0.3403, allocations: 11.92 kB / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3403, allocations: 4 kB / 0.5679 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.3403, allocations: 11.95 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.3403, allocations: 0 / 0.5679 GB, free: 12.48 MB / 414.1 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 (3): * Single equations (assignments): 3 * 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.0002151/0.3405, allocations: 225.6 kB / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.3406, allocations: 39.72 kB / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.3409, allocations: 125.2 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3409, allocations: 0 / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3409, allocations: 4 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3409, allocations: 0 / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.3412, allocations: 256.6 kB / 0.5685 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3412, allocations: 0 / 0.5685 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.093e-05/0.3413, allocations: 15.92 kB / 0.5685 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3413, allocations: 4 kB / 0.5685 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3413, allocations: 384 / 0.5685 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3413, allocations: 0 / 0.5685 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3413, allocations: 0 / 0.5685 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.3416, allocations: 211.2 kB / 0.5687 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.3416, allocations: 31.72 kB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.3417, allocations: 4 kB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.3417, allocations: 7.984 kB / 0.5688 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.3418, allocations: 4 kB / 0.5688 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.3418, allocations: 0 / 0.5688 GB, free: 11.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007169/0.3425, allocations: 0.6589 MB / 0.5694 GB, free: 10.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3425, allocations: 0 / 0.5694 GB, free: 10.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.3427, allocations: 27.88 kB / 0.5694 GB, free: 10.8 MB / 414.1 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 (3): * Single equations (assignments): 3 * 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.001848/0.3446, allocations: 1.007 MB / 0.5704 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.3448, allocations: 35.97 kB / 0.5705 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3448, allocations: 0 / 0.5705 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.901e-05/0.3448, allocations: 23.92 kB / 0.5705 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.3453, allocations: 30.22 kB / 0.5705 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/0.349, allocations: 3.186 MB / 0.5736 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.3492, allocations: 216.2 kB / 0.5738 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.146e-05/0.3493, allocations: 7.75 kB / 0.5738 GB, free: 6.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.3494, allocations: 111.4 kB / 0.5739 GB, free: 6.188 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3494, allocations: 0 / 0.5739 GB, free: 6.188 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03449/0.3839, allocations: 6.379 MB / 0.5802 GB, free: 15.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.7, allocations: 5.688 kB / 0.5802 GB, free: 15.82 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.891826143022627]