Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.001899/0.001899, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00261/0.00261, allocations: 211.7 kB / 23.73 MB, free: 4.16 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.53/1.53, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2288/0.2288, allocations: 44.93 MB / 358.8 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.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25",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.002025/0.002025, allocations: 67.91 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3613, allocations: 65.48 MB / 0.557 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003086/0.3644, allocations: 1.668 MB / 0.5586 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.3654, allocations: 0.531 MB / 0.5591 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.3654, allocations: 0 / 0.5591 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.3657, allocations: 47.75 kB / 0.5592 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.3659, allocations: 95.59 kB / 0.5593 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.3663, allocations: 135.3 kB / 0.5594 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.3664, allocations: 91.8 kB / 0.5595 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.802e-05/0.3665, allocations: 14.06 kB / 0.5595 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.3666, allocations: 35.84 kB / 0.5595 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.343e-05/0.3667, allocations: 43.83 kB / 0.5596 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.3667, allocations: 4 kB / 0.5596 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.3668, allocations: 55.92 kB / 0.5596 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.3669, allocations: 27.84 kB / 0.5597 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.3669, allocations: 19.86 kB / 0.5597 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.3671, allocations: 119.4 kB / 0.5598 GB, free: 4.633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3671, allocations: 0 / 0.5598 GB, free: 4.633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3671, allocations: 4 kB / 0.5598 GB, free: 4.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.3671, allocations: 0 / 0.5598 GB, free: 4.629 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005124/0.3676, allocations: 345.6 kB / 0.5601 GB, free: 4.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3677, allocations: 12.02 kB / 0.5601 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.3677, allocations: 30.75 kB / 0.5602 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.3678, allocations: 12.89 kB / 0.5602 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.3679, allocations: 150.3 kB / 0.5603 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.368, allocations: 384 / 0.5603 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.368, allocations: 8.328 kB / 0.5603 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.3682, allocations: 69.61 kB / 0.5604 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3682, allocations: 0 / 0.5604 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3682, allocations: 4 kB / 0.5604 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3682, allocations: 0 / 0.5604 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.3683, allocations: 39.89 kB / 0.5605 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.3687, allocations: 263.9 kB / 0.5607 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.369, allocations: 58.58 kB / 0.5608 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.48e-05/0.369, allocations: 24.97 kB / 0.5608 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.369, allocations: 4 kB / 0.5608 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.3691, allocations: 30.56 kB / 0.5608 GB, free: 3.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3691, allocations: 3.938 kB / 0.5608 GB, free: 3.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001433/0.3705, allocations: 409.2 kB / 0.5612 GB, free: 3.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.3705, allocations: 55.41 kB / 0.5613 GB, free: 2.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.3707, allocations: 190.2 kB / 0.5614 GB, free: 2.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3708, allocations: 25.7 kB / 0.5615 GB, free: 2.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.3708, allocations: 100.1 kB / 0.5616 GB, free: 2.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.3709, allocations: 47.56 kB / 0.5616 GB, free: 2.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.3709, allocations: 25.7 kB / 0.5616 GB, free: 2.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3711, allocations: 322.8 kB / 0.5619 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.3712, allocations: 43.97 kB / 0.562 GB, free: 2.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.3713, allocations: 39.97 kB / 0.562 GB, free: 2.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.3716, allocations: 108.7 kB / 0.5621 GB, free: 2.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3716, allocations: 0 / 0.5621 GB, free: 2.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003365/0.3719, allocations: 137.5 kB / 0.5623 GB, free: 1.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3719, allocations: 4 kB / 0.5623 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3719, allocations: 4 kB / 0.5623 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.372, allocations: 7.938 kB / 0.5623 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3721, allocations: 31.91 kB / 0.5623 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.3721, allocations: 0 / 0.5623 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.3722, allocations: 15.98 kB / 0.5623 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.3722, allocations: 0 / 0.5623 GB, free: 1.859 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 (11): * Single equations (assignments): 11 * 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.0001068/0.3723, allocations: 125.8 kB / 0.5624 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.3723, allocations: 11.91 kB / 0.5624 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000401/0.3727, allocations: 166.2 kB / 0.5626 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3727, allocations: 3.938 kB / 0.5626 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3727, allocations: 0 / 0.5626 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.3727, allocations: 7.969 kB / 0.5626 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006878/0.3734, allocations: 427.1 kB / 0.563 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3734, allocations: 0 / 0.563 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.3735, allocations: 32.05 kB / 0.5631 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3735, allocations: 0 / 0.5631 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3735, allocations: 4 kB / 0.5631 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3735, allocations: 4 kB / 0.5631 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3735, allocations: 0 / 0.5631 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.3739, allocations: 257.5 kB / 0.5633 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.374, allocations: 16.03 kB / 0.5633 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.374, allocations: 12.12 kB / 0.5633 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3741, allocations: 11.98 kB / 0.5633 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.3741, allocations: 11.98 kB / 0.5634 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.3741, allocations: 4 kB / 0.5634 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.3743, allocations: 140.1 kB / 0.5635 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3743, allocations: 0 / 0.5635 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000273/0.3745, allocations: 31.92 kB / 0.5635 GB, free: 0.5234 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002432/0.377, allocations: 1.165 MB / 0.5647 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003337/0.3773, allocations: 103.9 kB / 0.5648 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3773, allocations: 7.938 kB / 0.5648 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.3775, allocations: 59.89 kB / 0.5648 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.3778, allocations: 26.45 kB / 0.5649 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.3803, allocations: 1.793 MB / 0.5666 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.86e-05/0.3804, allocations: 92.75 kB / 0.5667 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.878e-05/0.3804, allocations: 28.41 kB / 0.5667 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.506e-05/0.3805, allocations: 35.42 kB / 0.5668 GB, free: 13.3 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3805, allocations: 0 / 0.5668 GB, free: 13.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.4112, allocations: 3.889 MB / 0.5706 GB, free: 9.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.58, allocations: 0.9375 kB / 0.5706 GB, free: 9.453 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.659313655924052]