Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001271/0.001271, 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.001404/0.001404, 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.568/1.568, allocations: 230.6 MB / 258.3 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2399/0.2399, allocations: 46.94 MB / 361.7 MB, free: 4.375 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.91 kB / 0.4969 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.367, allocations: 66.04 MB / 0.5614 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003517/0.3706, allocations: 1.625 MB / 0.563 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.3719, allocations: 0.5494 MB / 0.5636 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.438e-05/0.3719, allocations: 0 / 0.5636 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007953/0.3727, allocations: 451.2 kB / 0.564 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006565/0.3734, allocations: 295.3 kB / 0.5643 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.3739, allocations: 123.1 kB / 0.5644 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.3743, allocations: 159.6 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.3744, allocations: 16.16 kB / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.3746, allocations: 103.8 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004099/0.375, allocations: 255.5 kB / 0.5649 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.375, allocations: 0 / 0.5649 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.3751, allocations: 23.98 kB / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.3753, allocations: 84.67 kB / 0.565 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.3754, allocations: 103 kB / 0.5651 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005493/0.376, allocations: 264.3 kB / 0.5654 GB, free: 472 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.376, allocations: 0 / 0.5654 GB, free: 472 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.376, allocations: 0 / 0.5654 GB, free: 472 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.376, allocations: 4 kB / 0.5654 GB, free: 468 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001114/0.3771, allocations: 0.5738 MB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.404e-05/0.3772, allocations: 12.03 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.794e-05/0.3772, allocations: 192 / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.3772, allocations: 34.75 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.389e-05/0.3773, allocations: 48.61 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.3777, allocations: 242.8 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3777, allocations: 4.375 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.3778, allocations: 7.938 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3779, allocations: 53.62 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3779, allocations: 0 / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.378, allocations: 0 / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.378, allocations: 0 / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.112e-05/0.378, allocations: 23.97 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.3786, allocations: 343.9 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.555e-05/0.3787, allocations: 38.5 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.3787, allocations: 16.91 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3788, allocations: 0 / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.3788, allocations: 34.56 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3788, allocations: 0 / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003104/0.3791, allocations: 93.53 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.3792, allocations: 63.33 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009897/0.3802, allocations: 0.8738 MB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3802, allocations: 25.7 kB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.3804, allocations: 228 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.3804, allocations: 7.953 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.3804, allocations: 13.72 kB / 0.568 GB, free: 13.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.3807, allocations: 362.7 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.3807, allocations: 15.94 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.03e-05/0.3807, allocations: 11.98 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.358e-05/0.3808, allocations: 24.84 kB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3808, allocations: 0 / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000172/0.381, allocations: 89.41 kB / 0.5685 GB, free: 13.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.381, allocations: 6.656 kB / 0.5685 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.381, allocations: 4 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3811, allocations: 4.094 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.3811, allocations: 11.92 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.3812, allocations: 0 / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.655e-05/0.3812, allocations: 11.88 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.3812, allocations: 4 kB / 0.5685 GB, free: 13.01 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 (2): * Single equations (assignments): 2 * 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.0002399/0.3815, allocations: 209.8 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.876e-05/0.3815, allocations: 39.72 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.3818, allocations: 108.8 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3818, allocations: 0 / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3818, allocations: 0 / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.3818, allocations: 3.938 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.3821, allocations: 256.6 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3821, allocations: 0 / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.3822, allocations: 7.984 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3822, allocations: 0 / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.3822, allocations: 0 / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3822, allocations: 7.938 kB / 0.5691 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3822, allocations: 0 / 0.5691 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.3824, allocations: 187.2 kB / 0.5693 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.3825, allocations: 39.66 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.3825, allocations: 8 kB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.243e-05/0.3826, allocations: 3.984 kB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.3826, allocations: 3.984 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.3826, allocations: 7.938 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00073/0.3834, allocations: 0.659 MB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3834, allocations: 0 / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.3836, allocations: 19.98 kB / 0.57 GB, free: 11.39 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 (2): * Single equations (assignments): 2 * 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.00209/0.3857, allocations: 0.9663 MB / 0.571 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.3859, allocations: 23.98 kB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3859, allocations: 0 / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.393e-05/0.3859, allocations: 16.05 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.3864, allocations: 22.25 kB / 0.571 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/0.3907, allocations: 3.159 MB / 0.5741 GB, free: 7.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005641/0.3912, allocations: 0.8182 MB / 0.5749 GB, free: 6.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.714e-05/0.3913, allocations: 11.73 kB / 0.5749 GB, free: 6.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.3914, allocations: 111.4 kB / 0.575 GB, free: 6.254 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3914, allocations: 0 / 0.575 GB, free: 6.254 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.4197, allocations: 5.935 MB / 0.5808 GB, free: 404 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.29, allocations: 7 kB / 0.5808 GB, free: 404 kB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.608031772018876]