Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.001337/0.001337, allocations: 116.1 kB / 21.23 MB, free: 0.6016 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.001614/0.001614, allocations: 221 kB / 24.54 MB, free: 3.812 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.524/1.524, allocations: 230.6 MB / 258.3 MB, free: 8 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.2446/0.2446, allocations: 44.91 MB / 359.6 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 179] 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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",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.002008/0.002008, allocations: 67.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3399, allocations: 65.47 MB / 0.5578 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003207/0.3431, allocations: 1.69 MB / 0.5595 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3441, allocations: 0.566 MB / 0.56 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.3442, allocations: 0 / 0.56 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.3444, allocations: 63.72 kB / 0.5601 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.3447, allocations: 103.6 kB / 0.5602 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.3451, allocations: 131.4 kB / 0.5603 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.3453, allocations: 91.67 kB / 0.5604 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3454, allocations: 14.2 kB / 0.5604 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.3454, allocations: 39.78 kB / 0.5604 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.3456, allocations: 55.81 kB / 0.5605 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.3456, allocations: 4 kB / 0.5605 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.3457, allocations: 51.97 kB / 0.5606 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.982e-05/0.3458, allocations: 27.86 kB / 0.5606 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.3458, allocations: 35.73 kB / 0.5606 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.346, allocations: 119.4 kB / 0.5607 GB, free: 4.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.346, allocations: 4 kB / 0.5607 GB, free: 4.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.346, allocations: 0 / 0.5607 GB, free: 4.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.346, allocations: 0 / 0.5607 GB, free: 4.773 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005664/0.3466, allocations: 344 kB / 0.5611 GB, free: 4.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3466, allocations: 12.03 kB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.393e-05/0.3467, allocations: 192 / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.3467, allocations: 42.73 kB / 0.5611 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.3467, allocations: 16.84 kB / 0.5611 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.347, allocations: 154.2 kB / 0.5613 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.347, allocations: 4.375 kB / 0.5613 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.347, allocations: 12.12 kB / 0.5613 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.3472, allocations: 57.67 kB / 0.5613 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3472, allocations: 4 kB / 0.5613 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3472, allocations: 0 / 0.5613 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3472, allocations: 0 / 0.5613 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.3473, allocations: 39.97 kB / 0.5614 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.3478, allocations: 283.8 kB / 0.5617 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.348, allocations: 50.56 kB / 0.5617 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.888e-05/0.3481, allocations: 25.06 kB / 0.5617 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.3481, allocations: 7.922 kB / 0.5617 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.3482, allocations: 34.56 kB / 0.5618 GB, free: 3.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3482, allocations: 0 / 0.5618 GB, free: 3.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001562/0.3497, allocations: 400.9 kB / 0.5622 GB, free: 3.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.3498, allocations: 55.41 kB / 0.5622 GB, free: 3.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.35, allocations: 195.2 kB / 0.5624 GB, free: 2.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.35, allocations: 33.7 kB / 0.5624 GB, free: 2.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/0.3501, allocations: 100.1 kB / 0.5625 GB, free: 2.773 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.3501, allocations: 39.62 kB / 0.5626 GB, free: 2.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.3501, allocations: 29.7 kB / 0.5626 GB, free: 2.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3503, allocations: 322.8 kB / 0.5629 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.3505, allocations: 47.91 kB / 0.5629 GB, free: 2.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.3506, allocations: 48.02 kB / 0.563 GB, free: 2.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.3509, allocations: 105.3 kB / 0.5631 GB, free: 2.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3509, allocations: 0 / 0.5631 GB, free: 2.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003318/0.3512, allocations: 141.5 kB / 0.5632 GB, free: 2.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3512, allocations: 10.66 kB / 0.5632 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3512, allocations: 4 kB / 0.5632 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3512, allocations: 3.938 kB / 0.5632 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.3513, allocations: 31.97 kB / 0.5633 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3514, allocations: 3.938 kB / 0.5633 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.821e-05/0.3514, allocations: 12 kB / 0.5633 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3514, allocations: 3.984 kB / 0.5633 GB, free: 1.965 MB / 398.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 (11): * Single equations (assignments): 11 * 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.0001152/0.3515, allocations: 125.8 kB / 0.5634 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.3516, allocations: 15.91 kB / 0.5634 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004028/0.352, allocations: 162.9 kB / 0.5636 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.352, allocations: 4 kB / 0.5636 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.352, allocations: 0 / 0.5636 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.352, allocations: 3.984 kB / 0.5636 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006882/0.3527, allocations: 451 kB / 0.564 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3527, allocations: 0 / 0.564 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.3528, allocations: 31.91 kB / 0.564 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.3528, allocations: 4 kB / 0.564 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3528, allocations: 4 kB / 0.5641 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3528, allocations: 0 / 0.5641 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3528, allocations: 4 kB / 0.5641 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.3532, allocations: 249.1 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.3532, allocations: 15.91 kB / 0.5643 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.3533, allocations: 7.938 kB / 0.5643 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.866e-05/0.3534, allocations: 11.98 kB / 0.5643 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.3534, allocations: 11.98 kB / 0.5643 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.3534, allocations: 4 kB / 0.5643 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.3535, allocations: 149.7 kB / 0.5645 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3535, allocations: 3.938 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.3538, allocations: 27.92 kB / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002298/0.3561, allocations: 1.144 MB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003392/0.3564, allocations: 99.88 kB / 0.5657 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3564, allocations: 0 / 0.5657 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.3566, allocations: 59.95 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.357, allocations: 16 kB / 0.5658 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.3594, allocations: 1.833 MB / 0.5676 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.3597, allocations: 0.7041 MB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.645e-05/0.3598, allocations: 24.47 kB / 0.5683 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.67e-05/0.3598, allocations: 39.42 kB / 0.5683 GB, free: 12.72 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3598, allocations: 7.938 kB / 0.5683 GB, free: 12.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.3832, allocations: 3.596 MB / 0.5719 GB, free: 9.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.71, allocations: 2.812 kB / 0.5719 GB, free: 9.195 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.005816959019285]