Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.001297/0.001297, 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.001473/0.001473, allocations: 209.7 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.517/1.517, 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.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.2803/0.2803, allocations: 44.93 MB / 358.8 MB, free: 6.043 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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",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.002127/0.002127, allocations: 68.19 kB / 0.493 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3322, allocations: 65.48 MB / 0.557 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.003601/0.3358, allocations: 1.652 MB / 0.5586 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.3377, allocations: 1.236 MB / 0.5598 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.3378, allocations: 0 / 0.5598 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.338, allocations: 19.84 kB / 0.5598 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.3383, allocations: 95.55 kB / 0.5599 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.3386, allocations: 127.3 kB / 0.56 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.3388, allocations: 83.75 kB / 0.5601 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.128e-05/0.3389, allocations: 9.828 kB / 0.5601 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.522e-05/0.3389, allocations: 27.86 kB / 0.5602 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.339, allocations: 35.83 kB / 0.5602 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.339, allocations: 4 kB / 0.5602 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.3392, allocations: 95.88 kB / 0.5603 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.3393, allocations: 23.92 kB / 0.5603 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.3393, allocations: 23.86 kB / 0.5603 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.3396, allocations: 147.5 kB / 0.5605 GB, free: 3.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3396, allocations: 0 / 0.5605 GB, free: 3.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3396, allocations: 0 / 0.5605 GB, free: 3.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.3396, allocations: 0 / 0.5605 GB, free: 3.938 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005346/0.3401, allocations: 349.5 kB / 0.5608 GB, free: 3.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3402, allocations: 8.031 kB / 0.5608 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.3402, allocations: 38.73 kB / 0.5608 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.3402, allocations: 8.891 kB / 0.5609 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.3404, allocations: 146.4 kB / 0.561 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3404, allocations: 384 / 0.561 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.3405, allocations: 12.27 kB / 0.561 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.3407, allocations: 105 kB / 0.5611 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3407, allocations: 0 / 0.5611 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3407, allocations: 4 kB / 0.5611 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3407, allocations: 0 / 0.5611 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.3408, allocations: 31.97 kB / 0.5611 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.3412, allocations: 259.9 kB / 0.5614 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.3413, allocations: 46.5 kB / 0.5614 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.929e-05/0.3414, allocations: 20.94 kB / 0.5615 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3414, allocations: 0 / 0.5615 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.3415, allocations: 38.56 kB / 0.5615 GB, free: 2.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3415, allocations: 0 / 0.5615 GB, free: 2.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007631/0.3422, allocations: 217.3 kB / 0.5617 GB, free: 2.527 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.3423, allocations: 81.11 kB / 0.5618 GB, free: 2.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3425, allocations: 153 kB / 0.5619 GB, free: 2.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.3425, allocations: 29.7 kB / 0.562 GB, free: 2.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.3426, allocations: 100.1 kB / 0.562 GB, free: 2.133 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.3426, allocations: 23.75 kB / 0.5621 GB, free: 2.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.3426, allocations: 25.7 kB / 0.5621 GB, free: 2.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3428, allocations: 322.8 kB / 0.5624 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.3429, allocations: 27.98 kB / 0.5624 GB, free: 1.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.343, allocations: 79.38 kB / 0.5625 GB, free: 1.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.3433, allocations: 68.81 kB / 0.5626 GB, free: 1.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3433, allocations: 7.938 kB / 0.5626 GB, free: 1.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002829/0.3435, allocations: 117.8 kB / 0.5627 GB, free: 1.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3436, allocations: 4 kB / 0.5627 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3436, allocations: 0 / 0.5627 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3436, allocations: 0 / 0.5627 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3437, allocations: 19.98 kB / 0.5627 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3437, allocations: 0 / 0.5627 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.3438, allocations: 15.92 kB / 0.5627 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.3438, allocations: 8 kB / 0.5627 GB, free: 1.391 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 (7): * Single equations (assignments): 7 * 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.0001031/0.3439, allocations: 121.8 kB / 0.5629 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.3439, allocations: 7.953 kB / 0.5629 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.3443, allocations: 122.3 kB / 0.563 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3443, allocations: 0 / 0.563 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3443, allocations: 7.938 kB / 0.563 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3443, allocations: 4.219 kB / 0.563 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.3448, allocations: 361.5 kB / 0.5633 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3449, allocations: 4 kB / 0.5633 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.939e-05/0.3449, allocations: 15.98 kB / 0.5634 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3449, allocations: 3.984 kB / 0.5634 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.345, allocations: 7.938 kB / 0.5634 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.345, allocations: 4 kB / 0.5634 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.345, allocations: 0 / 0.5634 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.3453, allocations: 207.5 kB / 0.5636 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.3453, allocations: 15.94 kB / 0.5636 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.3453, allocations: 3.938 kB / 0.5636 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3454, allocations: 15.92 kB / 0.5636 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.3455, allocations: 3.984 kB / 0.5636 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.3455, allocations: 4 kB / 0.5636 GB, free: 420 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.3456, allocations: 123.2 kB / 0.5637 GB, free: 296 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3456, allocations: 0 / 0.5637 GB, free: 296 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000294/0.3459, allocations: 43.88 kB / 0.5638 GB, free: 252 kB / 398.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 (7): * Single equations (assignments): 7 * 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.002454/0.3484, allocations: 1.176 MB / 0.5649 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.3487, allocations: 71.88 kB / 0.565 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3487, allocations: 0 / 0.565 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.3488, allocations: 51.95 kB / 0.565 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.3492, allocations: 8 kB / 0.565 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.3513, allocations: 1.597 MB / 0.5666 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.361e-05/0.3514, allocations: 79.86 kB / 0.5667 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.21e-05/0.3515, allocations: 20.95 kB / 0.5667 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.695e-05/0.3516, allocations: 39.36 kB / 0.5667 GB, free: 13.3 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3516, allocations: 0 / 0.5667 GB, free: 13.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.3852, allocations: 4.115 MB / 0.5708 GB, free: 9.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.65, allocations: 6.906 kB / 0.5708 GB, free: 9.215 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.755517383106053]