Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001313/0.001313, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001421/0.001421, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2312/0.2312, allocations: 44.92 MB / 359.6 MB, free: 6.055 MB / 286.1 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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 63.91 kB / 0.4938 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3359, allocations: 65.47 MB / 0.5577 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003343/0.3392, allocations: 1.643 MB / 0.5593 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3404, allocations: 0.7595 MB / 0.5601 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.527e-05/0.3404, allocations: 4 kB / 0.5601 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.3407, allocations: 35.83 kB / 0.5601 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.3409, allocations: 31.91 kB / 0.5601 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.849e-06/0.3409, allocations: 3.938 kB / 0.5602 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.3411, allocations: 39.83 kB / 0.5602 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.3411, allocations: 1.828 kB / 0.5602 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.025e-05/0.3412, allocations: 8 kB / 0.5602 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.3412, allocations: 15.91 kB / 0.5602 GB, free: 5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.3412, allocations: 4 kB / 0.5602 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.193e-05/0.3413, allocations: 12 kB / 0.5602 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.3413, allocations: 16.89 kB / 0.5602 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.3414, allocations: 15.88 kB / 0.5603 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.3416, allocations: 75.55 kB / 0.5603 GB, free: 4.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3416, allocations: 0 / 0.5603 GB, free: 4.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3416, allocations: 0 / 0.5603 GB, free: 4.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3416, allocations: 0 / 0.5603 GB, free: 4.879 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004295/0.342, allocations: 290 kB / 0.5606 GB, free: 4.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.342, allocations: 8.031 kB / 0.5606 GB, free: 4.555 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.616e-05/0.342, allocations: 8.125 kB / 0.5606 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.3421, allocations: 42.73 kB / 0.5607 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.3421, allocations: 8.891 kB / 0.5607 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.3423, allocations: 118.4 kB / 0.5608 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.3423, allocations: 4.359 kB / 0.5608 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.3423, allocations: 4.375 kB / 0.5608 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.3425, allocations: 127.1 kB / 0.5609 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3425, allocations: 4 kB / 0.5609 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3425, allocations: 3.938 kB / 0.5609 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-05/0.3426, allocations: 23.98 kB / 0.5609 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.081e-05/0.3427, allocations: 39.92 kB / 0.561 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/0.3435, allocations: 0.8547 MB / 0.5618 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.3436, allocations: 181.1 kB / 0.562 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.218e-05/0.3436, allocations: 84.14 kB / 0.5621 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.3437, allocations: 79.28 kB / 0.5621 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.644e-05/0.3438, allocations: 105.8 kB / 0.5622 GB, free: 2.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3438, allocations: 0 / 0.5622 GB, free: 2.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.895e-05/0.3439, allocations: 37.61 kB / 0.5623 GB, free: 2.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/0.3439, allocations: 126.7 kB / 0.5624 GB, free: 2.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.3442, allocations: 186.1 kB / 0.5626 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3442, allocations: 25.7 kB / 0.5626 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.3443, allocations: 155.5 kB / 0.5628 GB, free: 2.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-06/0.3443, allocations: 4 kB / 0.5628 GB, free: 2.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.3444, allocations: 45.66 kB / 0.5628 GB, free: 2.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.3446, allocations: 326.8 kB / 0.5631 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.142e-05/0.3447, allocations: 27.98 kB / 0.5631 GB, free: 1.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.3448, allocations: 155.6 kB / 0.5633 GB, free: 1.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.3451, allocations: 204.9 kB / 0.5635 GB, free: 1.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3451, allocations: 0 / 0.5635 GB, free: 1.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003399/0.3454, allocations: 209.6 kB / 0.5637 GB, free: 1.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3454, allocations: 8 kB / 0.5637 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.3454, allocations: 4 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.3455, allocations: 4 kB / 0.5637 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.3456, allocations: 39.92 kB / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.3456, allocations: 7.938 kB / 0.5637 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.81e-05/0.3457, allocations: 27.83 kB / 0.5638 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.3457, allocations: 15.94 kB / 0.5638 GB, free: 0.9805 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001709/0.3459, allocations: 216.9 kB / 0.564 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.221e-05/0.346, allocations: 108.9 kB / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.966e-05/0.3461, allocations: 132.6 kB / 0.5642 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.38e-05/0.3461, allocations: 176.3 kB / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.223e-05/0.3462, allocations: 176.4 kB / 0.5646 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001008/0.3463, allocations: 188.2 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.3466, allocations: 400.2 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.769e-05/0.3467, allocations: 104.9 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.3467, allocations: 105 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-05/0.3468, allocations: 188.2 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.265e-05/0.3469, allocations: 180.2 kB / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.618e-05/0.347, allocations: 176.3 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-05/0.3471, allocations: 192.1 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.3473, allocations: 319.7 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/0.3473, allocations: 112.9 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.3474, allocations: 176.3 kB / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.3475, allocations: 104.9 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.3476, allocations: 188.2 kB / 0.5669 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.3477, allocations: 101 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.3478, allocations: 124.1 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3478, allocations: 3.938 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003224/0.3481, allocations: 16 kB / 0.5671 GB, free: 13.36 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 (0): * Single equations (assignments): 0 * 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.001127/0.3493, allocations: 0.9191 MB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.3494, allocations: 71.78 kB / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3494, allocations: 0 / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.3494, allocations: 1.25 kB / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.3499, allocations: 460.4 kB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.3519, allocations: 1.891 MB / 0.5704 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.589e-05/0.352, allocations: 83.52 kB / 0.5705 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002385/0.3523, allocations: 56.95 kB / 0.5705 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.3523, allocations: 23.42 kB / 0.5705 GB, free: 9.676 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3523, allocations: 0 / 0.5705 GB, free: 9.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.3752, allocations: 2.347 MB / 0.5728 GB, free: 7.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.97, allocations: 18.73 kB / 0.5728 GB, free: 7.383 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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: 15.0108775079716]