Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001784/0.001784, 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.002073/0.002073, allocations: 211.9 kB / 24.51 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.561/1.561, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2408/0.2408, allocations: 44.92 MB / 359.6 MB, free: 6.051 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.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",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.001997/0.001997, allocations: 67.91 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3474, allocations: 65.47 MB / 0.5577 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.002973/0.3504, allocations: 1.653 MB / 0.5594 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.3523, allocations: 1.263 MB / 0.5606 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.3523, allocations: 0 / 0.5606 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.3525, allocations: 23.86 kB / 0.5606 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.3528, allocations: 95.55 kB / 0.5607 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.3532, allocations: 175.4 kB / 0.5609 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.3534, allocations: 87.69 kB / 0.561 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.055e-05/0.3535, allocations: 9.828 kB / 0.561 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.3535, allocations: 31.86 kB / 0.561 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.3536, allocations: 39.83 kB / 0.561 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3537, allocations: 4 kB / 0.561 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.3538, allocations: 95.88 kB / 0.5611 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.3539, allocations: 23.92 kB / 0.5612 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.3539, allocations: 19.86 kB / 0.5612 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.3542, allocations: 155.5 kB / 0.5613 GB, free: 3.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3542, allocations: 8 kB / 0.5613 GB, free: 3.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3542, allocations: 0 / 0.5613 GB, free: 3.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.3542, allocations: 0 / 0.5613 GB, free: 3.875 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.0005522/0.3548, allocations: 349.5 kB / 0.5617 GB, free: 3.504 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3548, allocations: 8.031 kB / 0.5617 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.133e-05/0.3548, allocations: 4.188 kB / 0.5617 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.3549, allocations: 34.73 kB / 0.5617 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.3549, allocations: 8.891 kB / 0.5617 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.3551, allocations: 146.3 kB / 0.5619 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.3551, allocations: 384 / 0.5619 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.3551, allocations: 12.12 kB / 0.5619 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.3553, allocations: 105 kB / 0.562 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3554, allocations: 0 / 0.562 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3554, allocations: 0 / 0.562 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3554, allocations: 4 kB / 0.562 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.3555, allocations: 35.95 kB / 0.562 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.356, allocations: 275.9 kB / 0.5623 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3561, allocations: 54.48 kB / 0.5623 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.263e-05/0.3562, allocations: 24.94 kB / 0.5623 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3562, allocations: 4 kB / 0.5623 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.3562, allocations: 30.56 kB / 0.5624 GB, free: 2.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3562, allocations: 0 / 0.5624 GB, free: 2.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008255/0.3571, allocations: 237.6 kB / 0.5626 GB, free: 2.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.3571, allocations: 81.11 kB / 0.5627 GB, free: 2.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.3573, allocations: 159.6 kB / 0.5628 GB, free: 2.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.3573, allocations: 29.7 kB / 0.5629 GB, free: 2.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.3574, allocations: 104 kB / 0.563 GB, free: 2.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.3574, allocations: 27.78 kB / 0.563 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.3575, allocations: 17.72 kB / 0.563 GB, free: 1.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3576, allocations: 322.8 kB / 0.5633 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.3577, allocations: 35.97 kB / 0.5633 GB, free: 1.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.3579, allocations: 83.38 kB / 0.5634 GB, free: 1.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.3581, allocations: 88.73 kB / 0.5635 GB, free: 1.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3581, allocations: 0 / 0.5635 GB, free: 1.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000311/0.3584, allocations: 129.6 kB / 0.5636 GB, free: 1.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3584, allocations: 4 kB / 0.5636 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.3584, allocations: 0 / 0.5636 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3584, allocations: 7.984 kB / 0.5636 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.3586, allocations: 19.98 kB / 0.5637 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3586, allocations: 7.938 kB / 0.5637 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.192e-05/0.3586, allocations: 7.984 kB / 0.5637 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.3587, allocations: 4 kB / 0.5637 GB, free: 1.238 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.000103/0.3588, allocations: 125.8 kB / 0.5638 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.3588, allocations: 11.91 kB / 0.5638 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.3592, allocations: 138.6 kB / 0.5639 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.3592, allocations: 4 kB / 0.5639 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3592, allocations: 3.938 kB / 0.564 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3592, allocations: 0 / 0.564 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.3598, allocations: 377.5 kB / 0.5643 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3598, allocations: 0 / 0.5643 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.544e-05/0.3599, allocations: 27.97 kB / 0.5643 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3599, allocations: 3.938 kB / 0.5643 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3599, allocations: 8 kB / 0.5644 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3599, allocations: 0 / 0.5644 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3599, allocations: 0 / 0.5644 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.3602, allocations: 223.4 kB / 0.5646 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.3603, allocations: 11.94 kB / 0.5646 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.3603, allocations: 3.938 kB / 0.5646 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3604, allocations: 15.94 kB / 0.5646 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.3604, allocations: 7.984 kB / 0.5646 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.3604, allocations: 0 / 0.5646 GB, free: 212 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.3606, allocations: 118.5 kB / 0.5647 GB, free: 96 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3606, allocations: 4 kB / 0.5647 GB, free: 92 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.3608, allocations: 43.86 kB / 0.5648 GB, free: 48 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.002515/0.3634, allocations: 1.192 MB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003322/0.3637, allocations: 91.86 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3637, allocations: 0 / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.3638, allocations: 51.95 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.3642, allocations: 17.61 kB / 0.5661 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.3666, allocations: 1.655 MB / 0.5677 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.3667, allocations: 88.47 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.3668, allocations: 28.7 kB / 0.5678 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.65e-05/0.3669, allocations: 35.36 kB / 0.5678 GB, free: 12.99 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3669, allocations: 4 kB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.3934, allocations: 3.872 MB / 0.5716 GB, free: 9.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.83, allocations: 14.27 kB / 0.5716 GB, free: 9.137 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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: 15.18316592904739]