Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001619/0.001619, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001981/0.001981, allocations: 210.2 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2301/0.2301, allocations: 46.97 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 68.12 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3337, allocations: 66.04 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003173/0.3369, allocations: 1.616 MB / 0.5622 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3379, allocations: 0.5183 MB / 0.5627 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.338, allocations: 0 / 0.5627 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006125/0.3386, allocations: 455.1 kB / 0.5631 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005523/0.3392, allocations: 295.3 kB / 0.5634 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.3395, allocations: 126.8 kB / 0.5635 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.3398, allocations: 171.6 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.3399, allocations: 11.98 kB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.3401, allocations: 107.8 kB / 0.5638 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003063/0.3404, allocations: 251.5 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.3404, allocations: 4 kB / 0.564 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.103e-05/0.3405, allocations: 23.94 kB / 0.5641 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.3406, allocations: 84.66 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.283e-05/0.3407, allocations: 71.23 kB / 0.5642 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.341, allocations: 268.4 kB / 0.5645 GB, free: 264 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.341, allocations: 4 kB / 0.5645 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.341, allocations: 0 / 0.5645 GB, free: 260 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.341, allocations: 0 / 0.5645 GB, free: 260 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.0008117/0.3418, allocations: 0.5815 MB / 0.565 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3419, allocations: 12.03 kB / 0.5651 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.77e-05/0.3419, allocations: 42.73 kB / 0.5651 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.342, allocations: 40.66 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.3423, allocations: 250.7 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-06/0.3423, allocations: 384 / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.3423, allocations: 8.375 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.3425, allocations: 53.61 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.3425, allocations: 0 / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.3425, allocations: 0 / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3425, allocations: 4 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.3426, allocations: 31.97 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.3431, allocations: 351.8 kB / 0.5658 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.3433, allocations: 34.56 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.046e-05/0.3433, allocations: 24.94 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.3434, allocations: 0 / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.3434, allocations: 30.56 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3434, allocations: 4 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003638/0.3437, allocations: 125.3 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.3438, allocations: 51.41 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009362/0.3447, allocations: 0.8699 MB / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.3447, allocations: 25.7 kB / 0.5669 GB, free: 13.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.3449, allocations: 227.9 kB / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.3449, allocations: 7.953 kB / 0.5672 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.345, allocations: 17.66 kB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3452, allocations: 366.7 kB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-05/0.3452, allocations: 19.98 kB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.522e-05/0.3453, allocations: 11.98 kB / 0.5676 GB, free: 12.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.3454, allocations: 40.83 kB / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3454, allocations: 0 / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002084/0.3456, allocations: 105.6 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3456, allocations: 8 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3456, allocations: 48 / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.3457, allocations: 3.984 kB / 0.5677 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.597e-05/0.3457, allocations: 15.98 kB / 0.5677 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3457, allocations: 0 / 0.5677 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/0.3458, allocations: 7.953 kB / 0.5677 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.3458, allocations: 0 / 0.5677 GB, free: 12.72 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.000213/0.346, allocations: 217.7 kB / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.3461, allocations: 43.72 kB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.3464, allocations: 121.1 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3464, allocations: 4 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3464, allocations: 4 kB / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.3464, allocations: 0 / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.3467, allocations: 256.6 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3467, allocations: 0 / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.299e-05/0.3467, allocations: 15.98 kB / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3467, allocations: 0 / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.3467, allocations: 0 / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3467, allocations: 0 / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3467, allocations: 0 / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.347, allocations: 211.2 kB / 0.5686 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.3471, allocations: 31.72 kB / 0.5686 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.3471, allocations: 4 kB / 0.5686 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.3472, allocations: 7.922 kB / 0.5686 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.3472, allocations: 8 kB / 0.5686 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3472, allocations: 0 / 0.5686 GB, free: 11.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006705/0.3479, allocations: 0.655 MB / 0.5693 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3479, allocations: 3.938 kB / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.3481, allocations: 23.94 kB / 0.5693 GB, free: 11.05 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.001884/0.35, allocations: 1.005 MB / 0.5703 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.3502, allocations: 43.89 kB / 0.5703 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3502, allocations: 4 kB / 0.5703 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.348e-05/0.3503, allocations: 19.98 kB / 0.5703 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.3507, allocations: 23.92 kB / 0.5704 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003789/0.3545, allocations: 3.186 MB / 0.5735 GB, free: 6.805 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.3547, allocations: 216.2 kB / 0.5737 GB, free: 6.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.709e-05/0.3548, allocations: 15.81 kB / 0.5737 GB, free: 6.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.3549, allocations: 111.4 kB / 0.5738 GB, free: 6.449 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3549, allocations: 96 / 0.5738 GB, free: 6.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03441/0.3893, allocations: 6.284 MB / 0.5799 GB, free: 220 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.87, allocations: 6.141 kB / 0.5799 GB, free: 220 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.980664967093617]