Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001405/0.001405, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001658/0.001658, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2201/0.2201, allocations: 44.91 MB / 359.6 MB, free: 6.27 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",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.002035/0.002035, allocations: 71.91 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3806, allocations: 65.47 MB / 0.5578 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003786/0.3844, allocations: 2.058 MB / 0.5598 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.3864, allocations: 1.041 MB / 0.5608 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.3865, allocations: 4 kB / 0.5608 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005407/0.387, allocations: 255.1 kB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005998/0.3876, allocations: 267 kB / 0.5613 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.3889, allocations: 485.7 kB / 0.5618 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005558/0.3894, allocations: 342.8 kB / 0.5621 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.3896, allocations: 48.91 kB / 0.5622 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.3898, allocations: 151.3 kB / 0.5623 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.3901, allocations: 231.2 kB / 0.5625 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.3901, allocations: 8 kB / 0.5625 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.3903, allocations: 71.92 kB / 0.5626 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.3904, allocations: 103.6 kB / 0.5627 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.3906, allocations: 123 kB / 0.5628 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.391, allocations: 342.2 kB / 0.5631 GB, free: 2.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3911, allocations: 0 / 0.5631 GB, free: 2.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3911, allocations: 4 kB / 0.5632 GB, free: 2.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3911, allocations: 4 kB / 0.5632 GB, free: 2.266 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000936/0.392, allocations: 0.6127 MB / 0.5638 GB, free: 1.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.392, allocations: 12.03 kB / 0.5638 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.644e-05/0.3921, allocations: 8.125 kB / 0.5638 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/0.3921, allocations: 42.73 kB / 0.5638 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.963e-05/0.3922, allocations: 48.61 kB / 0.5639 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.3926, allocations: 268.7 kB / 0.5641 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3926, allocations: 8.375 kB / 0.5641 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.3926, allocations: 20.12 kB / 0.5641 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.3929, allocations: 113.5 kB / 0.5643 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3929, allocations: 0 / 0.5643 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.3929, allocations: 8 kB / 0.5643 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3929, allocations: 7.922 kB / 0.5643 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.3931, allocations: 67.95 kB / 0.5643 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006967/0.3938, allocations: 479.4 kB / 0.5648 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.394, allocations: 90.48 kB / 0.5649 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.255e-05/0.394, allocations: 32.84 kB / 0.5649 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.3941, allocations: 0 / 0.5649 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.3941, allocations: 38.5 kB / 0.5649 GB, free: 304 kB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 8.71e-07/0.3941, allocations: 0 / 0.5649 GB, free: 304 kB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.00106/0.3952, allocations: 409 kB / 0.5653 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.3952, allocations: 55.41 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000738/0.396, allocations: 0.5877 MB / 0.566 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.396, allocations: 25.7 kB / 0.566 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.3962, allocations: 220.3 kB / 0.5662 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.3962, allocations: 59.47 kB / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.3963, allocations: 33.72 kB / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.3965, allocations: 362.5 kB / 0.5666 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3966, allocations: 51.97 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.3967, allocations: 51.91 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.397, allocations: 119.3 kB / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.397, allocations: 0 / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003923/0.3974, allocations: 201.3 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3974, allocations: 7.984 kB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3974, allocations: 0 / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3974, allocations: 4 kB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.3976, allocations: 31.92 kB / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3976, allocations: 7.984 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.248e-05/0.3977, allocations: 15.98 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.3977, allocations: 4 kB / 0.5671 GB, free: 14.02 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 (17): * Single equations (assignments): 17 * 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.0001946/0.3979, allocations: 181.8 kB / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-05/0.398, allocations: 39.72 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000501/0.3985, allocations: 251.8 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3985, allocations: 0 / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3985, allocations: 0 / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3985, allocations: 0 / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009365/0.3994, allocations: 0.6066 MB / 0.5681 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3994, allocations: 7.938 kB / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.3995, allocations: 35.98 kB / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3995, allocations: 0 / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3996, allocations: 3.938 kB / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3996, allocations: 4 kB / 0.5682 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.3996, allocations: 3.938 kB / 0.5682 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004406/0.4, allocations: 309.6 kB / 0.5685 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.4001, allocations: 39.7 kB / 0.5685 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.4001, allocations: 11.94 kB / 0.5685 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.4002, allocations: 7.984 kB / 0.5686 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.4003, allocations: 11.98 kB / 0.5686 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.4003, allocations: 4 kB / 0.5686 GB, free: 12.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005163/0.4008, allocations: 443.1 kB / 0.569 GB, free: 12 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4008, allocations: 0 / 0.569 GB, free: 12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003267/0.4011, allocations: 47.94 kB / 0.569 GB, free: 11.96 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 (17): * Single equations (assignments): 17 * 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.003522/0.4047, allocations: 1.443 MB / 0.5704 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003651/0.405, allocations: 135.7 kB / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.405, allocations: 0 / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.4052, allocations: 75.89 kB / 0.5706 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006185/0.4058, allocations: 74.2 kB / 0.5707 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004606/0.4104, allocations: 3.163 MB / 0.5738 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.4109, allocations: 0.8143 MB / 0.5746 GB, free: 6.465 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.4111, allocations: 50.23 kB / 0.5746 GB, free: 6.414 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.4113, allocations: 135.4 kB / 0.5748 GB, free: 6.281 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4113, allocations: 7.938 kB / 0.5748 GB, free: 6.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.4419, allocations: 7.893 MB / 0.5825 GB, free: 14.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.33, allocations: 9.859 kB / 0.5825 GB, free: 14.43 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.48312851996161]