Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001635/0.001635, 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.001551/0.001551, allocations: 211.4 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2242/0.2242, 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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",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.002216/0.002216, allocations: 79.88 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3494, allocations: 65.47 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003765/0.3532, allocations: 1.632 MB / 0.5586 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3542, allocations: 0.7633 MB / 0.5593 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.3543, allocations: 4 kB / 0.5593 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.3545, allocations: 35.83 kB / 0.5594 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.3547, allocations: 43.83 kB / 0.5594 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.679e-06/0.3547, allocations: 0 / 0.5594 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.3548, allocations: 27.91 kB / 0.5594 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.24e-05/0.3549, allocations: 5.812 kB / 0.5594 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.132e-05/0.3549, allocations: 11.94 kB / 0.5594 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/0.355, allocations: 15.86 kB / 0.5595 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.355, allocations: 0 / 0.5595 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.219e-05/0.3551, allocations: 15.98 kB / 0.5595 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.3551, allocations: 16.91 kB / 0.5595 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.3551, allocations: 15.88 kB / 0.5595 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.3553, allocations: 75.61 kB / 0.5596 GB, free: 4.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3553, allocations: 0 / 0.5596 GB, free: 4.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3553, allocations: 0 / 0.5596 GB, free: 4.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3553, allocations: 0 / 0.5596 GB, free: 4.883 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004049/0.3557, allocations: 290 kB / 0.5599 GB, free: 4.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.721e-05/0.3558, allocations: 11.97 kB / 0.5599 GB, free: 4.555 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.3558, allocations: 42.73 kB / 0.5599 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.3559, allocations: 4.891 kB / 0.5599 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.356, allocations: 122.4 kB / 0.56 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.356, allocations: 12.36 kB / 0.56 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.356, allocations: 384 / 0.56 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.3562, allocations: 127.3 kB / 0.5602 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3562, allocations: 3.938 kB / 0.5602 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.3563, allocations: 0 / 0.5602 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-05/0.3563, allocations: 19.98 kB / 0.5602 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.758e-05/0.3564, allocations: 51.78 kB / 0.5602 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007366/0.3571, allocations: 0.8507 MB / 0.5611 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.3572, allocations: 173.1 kB / 0.5612 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.3573, allocations: 84.08 kB / 0.5613 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.3573, allocations: 75.28 kB / 0.5614 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.3574, allocations: 113.8 kB / 0.5615 GB, free: 2.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3574, allocations: 0 / 0.5615 GB, free: 2.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.844e-05/0.3575, allocations: 41.64 kB / 0.5615 GB, free: 2.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/0.3575, allocations: 126.7 kB / 0.5616 GB, free: 2.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.3577, allocations: 190.1 kB / 0.5618 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.3578, allocations: 25.7 kB / 0.5619 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.3579, allocations: 155.5 kB / 0.562 GB, free: 2.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.881e-06/0.3579, allocations: 4 kB / 0.562 GB, free: 2.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-05/0.3579, allocations: 45.66 kB / 0.5621 GB, free: 2.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3581, allocations: 318.8 kB / 0.5624 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.085e-05/0.3582, allocations: 35.98 kB / 0.5624 GB, free: 1.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.3583, allocations: 159.5 kB / 0.5625 GB, free: 1.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.3586, allocations: 196.9 kB / 0.5627 GB, free: 1.301 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3586, allocations: 4 kB / 0.5627 GB, free: 1.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003409/0.3589, allocations: 205.1 kB / 0.5629 GB, free: 1.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3589, allocations: 10.81 kB / 0.5629 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.359, allocations: 4 kB / 0.5629 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.359, allocations: 8 kB / 0.5629 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.3591, allocations: 39.92 kB / 0.563 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.3591, allocations: 4 kB / 0.563 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9e-05/0.3592, allocations: 27.78 kB / 0.563 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.3592, allocations: 15.98 kB / 0.563 GB, free: 0.9844 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001531/0.3594, allocations: 209 kB / 0.5632 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-05/0.3595, allocations: 116.8 kB / 0.5633 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.286e-05/0.3596, allocations: 120.6 kB / 0.5635 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-05/0.3596, allocations: 180.3 kB / 0.5636 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.843e-05/0.3597, allocations: 180.3 kB / 0.5638 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001074/0.3598, allocations: 188.3 kB / 0.564 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.3601, allocations: 404.2 kB / 0.5644 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.517e-05/0.3602, allocations: 101 kB / 0.5645 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.3602, allocations: 105 kB / 0.5646 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.497e-05/0.3603, allocations: 188.2 kB / 0.5647 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.409e-05/0.3604, allocations: 180.2 kB / 0.5649 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.218e-05/0.3605, allocations: 180.2 kB / 0.5651 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.545e-05/0.3606, allocations: 180.3 kB / 0.5653 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.3608, allocations: 327.6 kB / 0.5656 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.621e-05/0.3609, allocations: 108.9 kB / 0.5657 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.361, allocations: 188.2 kB / 0.5659 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.3611, allocations: 105 kB / 0.566 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3612, allocations: 184.2 kB / 0.5661 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/0.3612, allocations: 105 kB / 0.5662 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.3613, allocations: 128.1 kB / 0.5664 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3613, allocations: 0 / 0.5664 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.3617, allocations: 16 kB / 0.5664 GB, free: 13.36 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 (0): * Single equations (assignments): 0 * 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.001089/0.3627, allocations: 0.9248 MB / 0.5673 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.3629, allocations: 76.03 kB / 0.5673 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3629, allocations: 0 / 0.5673 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.3629, allocations: 0 / 0.5673 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.3634, allocations: 464.4 kB / 0.5678 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.3655, allocations: 1.879 MB / 0.5696 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.874e-05/0.3656, allocations: 83.52 kB / 0.5697 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.3658, allocations: 49.02 kB / 0.5697 GB, free: 9.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.3658, allocations: 31.42 kB / 0.5698 GB, free: 9.676 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3658, allocations: 0 / 0.5698 GB, free: 9.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03933/0.4052, allocations: 2.61 MB / 0.5723 GB, free: 7.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.59, allocations: 10.52 kB / 0.5723 GB, free: 7.113 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.642634093761444]