Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001755/0.001755, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001503/0.001503, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2252/0.2252, allocations: 44.94 MB / 359.6 MB, free: 6.055 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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",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.002052/0.002052, allocations: 67.91 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3252, allocations: 65.47 MB / 0.5577 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.00402/0.3292, allocations: 1.982 MB / 0.5597 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.3314, allocations: 1.096 MB / 0.5607 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.3315, allocations: 7.938 kB / 0.5607 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005122/0.332, allocations: 263.1 kB / 0.561 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005243/0.3325, allocations: 263.1 kB / 0.5613 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.334, allocations: 0.6609 MB / 0.5619 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004542/0.3344, allocations: 362.8 kB / 0.5622 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.3346, allocations: 50.73 kB / 0.5623 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.3348, allocations: 155.3 kB / 0.5624 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.3351, allocations: 231.2 kB / 0.5627 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.3351, allocations: 12 kB / 0.5627 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.3353, allocations: 107.9 kB / 0.5628 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.3355, allocations: 103.6 kB / 0.5629 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.3356, allocations: 95.22 kB / 0.563 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004718/0.336, allocations: 374.1 kB / 0.5633 GB, free: 1.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.336, allocations: 0 / 0.5633 GB, free: 1.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.336, allocations: 4 kB / 0.5633 GB, free: 1.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3361, allocations: 0 / 0.5633 GB, free: 1.789 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.0008724/0.3369, allocations: 0.6398 MB / 0.5639 GB, free: 1.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.337, allocations: 12.03 kB / 0.564 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.73e-05/0.337, allocations: 8.125 kB / 0.564 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.337, allocations: 50.67 kB / 0.564 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.297e-05/0.3371, allocations: 44.66 kB / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.3375, allocations: 280.6 kB / 0.5643 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3375, allocations: 8.375 kB / 0.5643 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.3376, allocations: 16.12 kB / 0.5643 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.3379, allocations: 133.4 kB / 0.5645 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.3379, allocations: 7.953 kB / 0.5645 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.3379, allocations: 4 kB / 0.5645 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.3379, allocations: 4 kB / 0.5645 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.3381, allocations: 87.92 kB / 0.5646 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007679/0.3389, allocations: 479.6 kB / 0.565 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.3391, allocations: 106.5 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.919e-05/0.3392, allocations: 36.84 kB / 0.5652 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.3392, allocations: 4 kB / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.3392, allocations: 34.5 kB / 0.5652 GB, free: 15.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.3392, allocations: 0 / 0.5652 GB, free: 15.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001057/0.3403, allocations: 460.5 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.3403, allocations: 55.41 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007266/0.341, allocations: 0.6073 MB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.3411, allocations: 29.7 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.3412, allocations: 208.4 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.292e-05/0.3413, allocations: 71.41 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.524e-05/0.3414, allocations: 33.72 kB / 0.5666 GB, free: 14.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3416, allocations: 362.7 kB / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3417, allocations: 67.95 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.3418, allocations: 71.89 kB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.3421, allocations: 155.5 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3421, allocations: 0 / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004265/0.3426, allocations: 233.2 kB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3426, allocations: 6.656 kB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3426, allocations: 0 / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3426, allocations: 4 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.3428, allocations: 35.92 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3428, allocations: 4 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-05/0.3429, allocations: 11.98 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.3429, allocations: 4 kB / 0.5675 GB, free: 13.28 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.0002024/0.3431, allocations: 181.7 kB / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.351e-05/0.3432, allocations: 47.67 kB / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005781/0.3438, allocations: 289.6 kB / 0.568 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3438, allocations: 4 kB / 0.568 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3438, allocations: 0 / 0.568 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3438, allocations: 7.938 kB / 0.568 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009687/0.3448, allocations: 0.6378 MB / 0.5687 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3448, allocations: 0 / 0.5687 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.3449, allocations: 35.97 kB / 0.5687 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3449, allocations: 0 / 0.5687 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.3449, allocations: 8 kB / 0.5687 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3449, allocations: 3.938 kB / 0.5687 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3449, allocations: 3.938 kB / 0.5687 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004745/0.3454, allocations: 333.4 kB / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.895e-05/0.3455, allocations: 47.69 kB / 0.5691 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.3455, allocations: 4 kB / 0.5691 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.3456, allocations: 11.94 kB / 0.5691 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.3457, allocations: 15.95 kB / 0.5691 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.3457, allocations: 4 kB / 0.5691 GB, free: 11.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005407/0.3462, allocations: 454.8 kB / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3462, allocations: 0 / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003436/0.3466, allocations: 47.94 kB / 0.5696 GB, free: 11.09 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.003634/0.3502, allocations: 1.537 MB / 0.5711 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004236/0.3506, allocations: 159.8 kB / 0.5712 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3506, allocations: 3.938 kB / 0.5712 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.3508, allocations: 90.69 kB / 0.5713 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.3513, allocations: 89.89 kB / 0.5714 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.3556, allocations: 3.339 MB / 0.5747 GB, free: 6.148 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3559, allocations: 220.8 kB / 0.5749 GB, free: 5.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001614/0.356, allocations: 62.23 kB / 0.5749 GB, free: 5.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.3562, allocations: 139.4 kB / 0.5751 GB, free: 5.719 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3562, allocations: 0 / 0.5751 GB, free: 5.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.3871, allocations: 8.29 MB / 0.5832 GB, free: 13.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.28, allocations: 9.734 kB / 0.5832 GB, free: 13.44 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.521395398071036]