Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001283/0.001283, allocations: 113.2 kB / 17.13 MB, free: 5.949 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.001301/0.001301, allocations: 191.7 kB / 20.08 MB, free: 3.012 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.572/1.572, allocations: 207.6 MB / 230.5 MB, free: 4.035 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.3325/0.3325, allocations: 44.23 MB / 326.5 MB, free: 7.223 MB / 254.1 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",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.002391/0.002391, allocations: 71.89 kB / 462.2 MB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2662, allocations: 60.99 MB / 0.5109 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002652/0.2688, allocations: 1.588 MB / 0.5125 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006123/0.2694, allocations: 327.1 kB / 0.5128 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.634e-05/0.2695, allocations: 4 kB / 0.5128 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006033/0.2701, allocations: 455.1 kB / 0.5132 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.2704, allocations: 246.5 kB / 0.5134 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.2708, allocations: 160.4 kB / 0.5136 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.271, allocations: 158.2 kB / 0.5137 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2711, allocations: 12.98 kB / 0.5138 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.2712, allocations: 109.8 kB / 0.5139 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.2715, allocations: 245.8 kB / 0.5141 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.2715, allocations: 2.781 kB / 0.5141 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.996e-05/0.2716, allocations: 17.09 kB / 0.5141 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.997e-05/0.2717, allocations: 82.97 kB / 0.5142 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.2717, allocations: 103.3 kB / 0.5143 GB, free: 11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.272, allocations: 250.8 kB / 0.5145 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.272, allocations: 1.156 kB / 0.5145 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.272, allocations: 0 / 0.5145 GB, free: 10.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.2721, allocations: 0 / 0.5145 GB, free: 10.85 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006483/0.2727, allocations: 0.6499 MB / 0.5152 GB, free: 10.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.2727, allocations: 13.48 kB / 0.5152 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.2728, allocations: 30.75 kB / 0.5152 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/0.2728, allocations: 47.89 kB / 0.5153 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.2731, allocations: 299.2 kB / 0.5155 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.2731, allocations: 384 / 0.5155 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.2731, allocations: 3.125 kB / 0.5155 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.2733, allocations: 52.62 kB / 0.5156 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2733, allocations: 0 / 0.5156 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.2733, allocations: 4 kB / 0.5156 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.2733, allocations: 1.375 kB / 0.5156 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.34e-05/0.2734, allocations: 29.66 kB / 0.5156 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.2738, allocations: 389.6 kB / 0.516 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.765e-05/0.2739, allocations: 32.19 kB / 0.516 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.2739, allocations: 18.36 kB / 0.5161 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.274, allocations: 5.312 kB / 0.5161 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.274, allocations: 39.86 kB / 0.5161 GB, free: 9.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.274, allocations: 0 / 0.5161 GB, free: 9.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002657/0.2742, allocations: 95.91 kB / 0.5162 GB, free: 9.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.2743, allocations: 55.39 kB / 0.5162 GB, free: 9.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006451/0.2749, allocations: 0.8658 MB / 0.5171 GB, free: 8.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.2749, allocations: 29.7 kB / 0.5171 GB, free: 8.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.275, allocations: 224.1 kB / 0.5173 GB, free: 8.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.2751, allocations: 3.953 kB / 0.5173 GB, free: 8.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.2751, allocations: 13.72 kB / 0.5173 GB, free: 8.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.2751, allocations: 366.7 kB / 0.5177 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.799e-05/0.2752, allocations: 4 kB / 0.5177 GB, free: 7.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.06e-05/0.2752, allocations: 15.98 kB / 0.5177 GB, free: 7.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.297e-05/0.2753, allocations: 32.84 kB / 0.5177 GB, free: 7.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2753, allocations: 3.938 kB / 0.5177 GB, free: 7.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001166/0.2754, allocations: 93.41 kB / 0.5178 GB, free: 7.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2754, allocations: 4 kB / 0.5178 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2754, allocations: 3.984 kB / 0.5178 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2754, allocations: 0 / 0.5178 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.2755, allocations: 4 kB / 0.5178 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2755, allocations: 0 / 0.5178 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.2755, allocations: 12.03 kB / 0.5179 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.2755, allocations: 0 / 0.5179 GB, free: 7.676 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 (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.0001226/0.2757, allocations: 217.7 kB / 0.5181 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.2757, allocations: 47.67 kB / 0.5181 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.2759, allocations: 104.6 kB / 0.5182 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2759, allocations: 0 / 0.5182 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2759, allocations: 0 / 0.5182 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2759, allocations: 8.016 kB / 0.5182 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.2761, allocations: 289.5 kB / 0.5185 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2761, allocations: 0 / 0.5185 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.2762, allocations: 4 kB / 0.5185 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2762, allocations: 0 / 0.5185 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.2762, allocations: 0 / 0.5185 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.2762, allocations: 0 / 0.5185 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2762, allocations: 4 kB / 0.5185 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.2763, allocations: 203.1 kB / 0.5187 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.2764, allocations: 112.8 kB / 0.5188 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.2764, allocations: 0 / 0.5188 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/0.2765, allocations: 7.969 kB / 0.5188 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.2765, allocations: 4 kB / 0.5188 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.2765, allocations: 0 / 0.5188 GB, free: 6.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004123/0.2769, allocations: 0.655 MB / 0.5195 GB, free: 5.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2769, allocations: 0 / 0.5195 GB, free: 5.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.2771, allocations: 23.88 kB / 0.5195 GB, free: 5.918 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 (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.001404/0.2786, allocations: 0.9871 MB / 0.5204 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.2787, allocations: 23.98 kB / 0.5205 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2787, allocations: 0 / 0.5205 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.2787, allocations: 11.98 kB / 0.5205 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.2792, allocations: 30.23 kB / 0.5205 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.2816, allocations: 3.154 MB / 0.5236 GB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.2818, allocations: 0.8221 MB / 0.5244 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.976e-05/0.2819, allocations: 16 kB / 0.5244 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.282, allocations: 111.4 kB / 0.5245 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.282, allocations: 0 / 0.5245 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.3114, allocations: 5.775 MB / 0.5301 GB, free: 10.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.923/9.234, allocations: 13.38 kB / 0.5302 GB, free: 10.8 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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.198789314832538]