Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 110.9 kB / 17.08 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002137/0.002136, allocations: 191.7 kB / 20.02 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.1 MB / 227.9 MB, free: 4.363 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.399/0.399, allocations: 43.51 MB / 320.8 MB, free: 9 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002534/0.002534, allocations: 75.89 kB / 450 MB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3242, allocations: 57.78 MB / 0.4959 GB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.002418/0.3267, allocations: 1.603 MB / 0.4975 GB, free: 18.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004963/0.3272, allocations: 330.3 kB / 0.4978 GB, free: 17.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.3273, allocations: 1.188 kB / 0.4978 GB, free: 17.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.3278, allocations: 450.6 kB / 0.4982 GB, free: 17.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.3281, allocations: 250.6 kB / 0.4985 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.3284, allocations: 116.2 kB / 0.4986 GB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.3286, allocations: 155.4 kB / 0.4987 GB, free: 17.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.566e-05/0.3287, allocations: 18.97 kB / 0.4987 GB, free: 17.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.3288, allocations: 101.2 kB / 0.4988 GB, free: 17.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.3291, allocations: 213.1 kB / 0.499 GB, free: 17.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.3291, allocations: 3.188 kB / 0.499 GB, free: 17.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.345e-05/0.3292, allocations: 31.91 kB / 0.4991 GB, free: 17.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.555e-05/0.3293, allocations: 82.59 kB / 0.4992 GB, free: 17.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.158e-05/0.3294, allocations: 102.9 kB / 0.4993 GB, free: 17.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.3296, allocations: 262.2 kB / 0.4995 GB, free: 17.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3297, allocations: 0 / 0.4995 GB, free: 17.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3297, allocations: 1.125 kB / 0.4995 GB, free: 17.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3297, allocations: 0 / 0.4995 GB, free: 17.07 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005841/0.3303, allocations: 0.6539 MB / 0.5001 GB, free: 16.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3303, allocations: 13.8 kB / 0.5002 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.168e-05/0.3303, allocations: 38.67 kB / 0.5002 GB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.3304, allocations: 43.25 kB / 0.5002 GB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.3306, allocations: 303 kB / 0.5005 GB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3306, allocations: 1.531 kB / 0.5005 GB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.3306, allocations: 18.34 kB / 0.5005 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.3308, allocations: 49.36 kB / 0.5006 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3308, allocations: 5.156 kB / 0.5006 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.3308, allocations: 4 kB / 0.5006 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.3308, allocations: 1.062 kB / 0.5006 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.897e-05/0.3309, allocations: 30.41 kB / 0.5006 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.3313, allocations: 382.9 kB / 0.501 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.3315, allocations: 43.19 kB / 0.501 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.3316, allocations: 27.17 kB / 0.5011 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.3316, allocations: 1.062 kB / 0.5011 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.3316, allocations: 31.56 kB / 0.5011 GB, free: 15.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3316, allocations: 0 / 0.5011 GB, free: 15.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005493/0.3322, allocations: 227.2 kB / 0.5013 GB, free: 15.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.3322, allocations: 59.41 kB / 0.5014 GB, free: 15.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007346/0.3329, allocations: 0.8635 MB / 0.5022 GB, free: 14.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.3329, allocations: 26.77 kB / 0.5022 GB, free: 14.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.3331, allocations: 225.1 kB / 0.5024 GB, free: 14.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.3331, allocations: 18.2 kB / 0.5025 GB, free: 14.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.3331, allocations: 17.56 kB / 0.5025 GB, free: 14.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.3332, allocations: 360.4 kB / 0.5028 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.926e-05/0.3333, allocations: 18.45 kB / 0.5028 GB, free: 14.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.834e-05/0.3333, allocations: 19.48 kB / 0.5029 GB, free: 14.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.3335, allocations: 47.98 kB / 0.5029 GB, free: 14.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3335, allocations: 0 / 0.5029 GB, free: 14.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001925/0.3337, allocations: 116 kB / 0.503 GB, free: 14.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3337, allocations: 4.75 kB / 0.503 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3337, allocations: 0 / 0.503 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3337, allocations: 5.125 kB / 0.503 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.3338, allocations: 14.17 kB / 0.503 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3338, allocations: 3.938 kB / 0.503 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.764e-05/0.3339, allocations: 11.33 kB / 0.5031 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3339, allocations: 5.188 kB / 0.5031 GB, free: 14.17 MB / 382.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 (5): * Single equations (assignments): 5 * 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.0001503/0.334, allocations: 205.8 kB / 0.5033 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.3341, allocations: 46.45 kB / 0.5033 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.3343, allocations: 147 kB / 0.5034 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3344, allocations: 1.188 kB / 0.5034 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3344, allocations: 3.938 kB / 0.5034 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3344, allocations: 1.156 kB / 0.5034 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.3348, allocations: 449.6 kB / 0.5039 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3348, allocations: 0 / 0.5039 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.3349, allocations: 18.02 kB / 0.5039 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3349, allocations: 7.938 kB / 0.5039 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3349, allocations: 5.281 kB / 0.5039 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3349, allocations: 0 / 0.5039 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3349, allocations: 1.156 kB / 0.5039 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.3351, allocations: 210.5 kB / 0.5041 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.3352, allocations: 114.9 kB / 0.5042 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.3352, allocations: 3.938 kB / 0.5042 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.338e-05/0.3353, allocations: 12.05 kB / 0.5042 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.3354, allocations: 2.375 kB / 0.5042 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3354, allocations: 5.25 kB / 0.5042 GB, free: 13.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006004/0.336, allocations: 0.6529 MB / 0.5049 GB, free: 12.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.336, allocations: 0 / 0.5049 GB, free: 12.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000258/0.3363, allocations: 21.81 kB / 0.5049 GB, free: 12.85 MB / 382.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 (5): * Single equations (assignments): 5 * 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.001664/0.3379, allocations: 1.063 MB / 0.5059 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.3381, allocations: 48.23 kB / 0.506 GB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3382, allocations: 0.9688 kB / 0.506 GB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.481e-05/0.3382, allocations: 27.83 kB / 0.506 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.3387, allocations: 27.81 kB / 0.506 GB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.3425, allocations: 3.199 MB / 0.5092 GB, free: 9.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.3428, allocations: 0.8219 MB / 0.51 GB, free: 9.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.339e-05/0.3429, allocations: 15.11 kB / 0.51 GB, free: 8.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.343, allocations: 107.5 kB / 0.5101 GB, free: 8.895 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.343, allocations: 1.375 kB / 0.5101 GB, free: 8.895 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.3711, allocations: 5.977 MB / 0.5159 GB, free: 5.281 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.775/9.146, allocations: 1.875 kB / 0.5159 GB, free: 5.281 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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: 12.346935607027262]