Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001919/0.001919, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001565/0.001565, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.515/1.515, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2206/0.2206, allocations: 44.92 MB / 359.6 MB, free: 6.277 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",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.003193/0.003193, allocations: 59.89 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3653, allocations: 65.48 MB / 0.5578 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003136/0.3685, allocations: 1.649 MB / 0.5594 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3695, allocations: 0.5776 MB / 0.56 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.3696, allocations: 0 / 0.56 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.3702, allocations: 455.1 kB / 0.5604 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.3706, allocations: 295.3 kB / 0.5607 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.371, allocations: 127.6 kB / 0.5608 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.3712, allocations: 171.6 kB / 0.561 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.789e-05/0.3713, allocations: 13.83 kB / 0.561 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.3715, allocations: 115.7 kB / 0.5611 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.3717, allocations: 247.5 kB / 0.5614 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.3718, allocations: 4 kB / 0.5614 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.3719, allocations: 35.92 kB / 0.5614 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.372, allocations: 87.62 kB / 0.5615 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.299e-05/0.3721, allocations: 107 kB / 0.5616 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.3724, allocations: 266.6 kB / 0.5618 GB, free: 3.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3724, allocations: 0 / 0.5618 GB, free: 3.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3724, allocations: 0 / 0.5618 GB, free: 3.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.3724, allocations: 0 / 0.5618 GB, free: 3.598 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.0008066/0.3732, allocations: 0.5854 MB / 0.5624 GB, free: 2.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3733, allocations: 8.031 kB / 0.5624 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.63e-05/0.3733, allocations: 8.125 kB / 0.5624 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.3733, allocations: 34.75 kB / 0.5624 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.388e-05/0.3734, allocations: 48.61 kB / 0.5625 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.3737, allocations: 242.8 kB / 0.5627 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3737, allocations: 4.375 kB / 0.5627 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.3738, allocations: 12.12 kB / 0.5627 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.3739, allocations: 53.67 kB / 0.5628 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3739, allocations: 4 kB / 0.5628 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3739, allocations: 4 kB / 0.5628 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.3739, allocations: 0 / 0.5628 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.837e-05/0.374, allocations: 27.92 kB / 0.5628 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.3746, allocations: 355.7 kB / 0.5632 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.3748, allocations: 46.55 kB / 0.5632 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.3749, allocations: 16.86 kB / 0.5632 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.3749, allocations: 4.016 kB / 0.5632 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.3749, allocations: 30.56 kB / 0.5633 GB, free: 1.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3749, allocations: 4 kB / 0.5633 GB, free: 1.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006615/0.3756, allocations: 244.7 kB / 0.5635 GB, free: 1.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3756, allocations: 55.41 kB / 0.5636 GB, free: 1.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009798/0.3766, allocations: 0.8698 MB / 0.5644 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3766, allocations: 29.7 kB / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.3768, allocations: 224.1 kB / 0.5646 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.3768, allocations: 19.83 kB / 0.5647 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.3769, allocations: 21.66 kB / 0.5647 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.3771, allocations: 358.8 kB / 0.565 GB, free: 136 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.762e-05/0.3772, allocations: 23.98 kB / 0.565 GB, free: 112 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.3773, allocations: 15.98 kB / 0.5651 GB, free: 96 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.3774, allocations: 48.83 kB / 0.5651 GB, free: 44 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3774, allocations: 0 / 0.5651 GB, free: 44 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000254/0.3777, allocations: 121.5 kB / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3777, allocations: 4 kB / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3777, allocations: 8 kB / 0.5652 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3777, allocations: 0 / 0.5652 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.223e-05/0.3778, allocations: 11.98 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3778, allocations: 7.688 kB / 0.5653 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.275e-05/0.3778, allocations: 4 kB / 0.5653 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3778, allocations: 8 kB / 0.5653 GB, free: 15.88 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 (5): * Single equations (assignments): 5 * 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.000205/0.378, allocations: 209.8 kB / 0.5655 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/0.3781, allocations: 39.72 kB / 0.5655 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.3784, allocations: 149.4 kB / 0.5656 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3784, allocations: 64 / 0.5656 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.3784, allocations: 7.938 kB / 0.5657 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3784, allocations: 0 / 0.5657 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000609/0.3791, allocations: 425.6 kB / 0.5661 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3791, allocations: 0 / 0.5661 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.141e-05/0.3791, allocations: 19.98 kB / 0.5661 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3791, allocations: 3.938 kB / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3791, allocations: 4 kB / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3791, allocations: 3.938 kB / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3791, allocations: 0 / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.3795, allocations: 215.2 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.3795, allocations: 35.66 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.3796, allocations: 8 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.296e-05/0.3797, allocations: 11.98 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.3797, allocations: 0 / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.3797, allocations: 0 / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007007/0.3804, allocations: 0.6589 MB / 0.567 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3804, allocations: 0 / 0.567 GB, free: 14.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.3807, allocations: 27.92 kB / 0.567 GB, free: 13.99 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 (5): * Single equations (assignments): 5 * 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.002012/0.3827, allocations: 1.058 MB / 0.5681 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.3829, allocations: 43.97 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3829, allocations: 0 / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.102e-05/0.383, allocations: 31.92 kB / 0.5681 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.3833, allocations: 27.92 kB / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/0.3874, allocations: 3.24 MB / 0.5713 GB, free: 9.633 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.3879, allocations: 0.822 MB / 0.5721 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.971e-05/0.3879, allocations: 15.98 kB / 0.5721 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.3881, allocations: 103.4 kB / 0.5722 GB, free: 8.672 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3881, allocations: 0 / 0.5722 GB, free: 8.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.4158, allocations: 6.26 MB / 0.5783 GB, free: 2.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.47, allocations: 10.47 kB / 0.5784 GB, free: 2.492 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.648246066004504]