Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.001789/0.001789, allocations: 126 kB / 17.84 MB, free: 5.258 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.002156/0.002156, allocations: 200.7 kB / 20.79 MB, free: 2.32 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.597/1.597, allocations: 207.6 MB / 231.2 MB, free: 4.109 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.3249/0.3249, allocations: 44.23 MB / 327.3 MB, free: 6.75 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.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.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 71.89 kB / 462.9 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2588, allocations: 61 MB / 0.5116 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.003242/0.262, allocations: 1.625 MB / 0.5132 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000755/0.2628, allocations: 0.6913 MB / 0.5139 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.2628, allocations: 4 kB / 0.5139 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.2631, allocations: 33.77 kB / 0.5139 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.2633, allocations: 37.31 kB / 0.514 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.549e-06/0.2633, allocations: 0 / 0.514 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.2634, allocations: 34.61 kB / 0.514 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.2635, allocations: 6.875 kB / 0.514 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.447e-05/0.2635, allocations: 4.469 kB / 0.514 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.474e-05/0.2636, allocations: 23.45 kB / 0.514 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.2636, allocations: 0 / 0.514 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.816e-05/0.2636, allocations: 13.59 kB / 0.5141 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.2637, allocations: 24.7 kB / 0.5141 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.2637, allocations: 24.41 kB / 0.5141 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.2638, allocations: 68.94 kB / 0.5142 GB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2638, allocations: 1.375 kB / 0.5142 GB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2638, allocations: 0 / 0.5142 GB, free: 11.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2638, allocations: 0 / 0.5142 GB, free: 11.29 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003317/0.2642, allocations: 364.9 kB / 0.5145 GB, free: 10.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.2642, allocations: 13.05 kB / 0.5145 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.334e-05/0.2642, allocations: 5.375 kB / 0.5145 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.292e-05/0.2643, allocations: 45.66 kB / 0.5146 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.2643, allocations: 7.359 kB / 0.5146 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.2644, allocations: 176.7 kB / 0.5148 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.2644, allocations: 384 / 0.5148 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.2644, allocations: 3.312 kB / 0.5148 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.2646, allocations: 134.5 kB / 0.5149 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2646, allocations: 1.812 kB / 0.5149 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.2646, allocations: 0 / 0.5149 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-05/0.2646, allocations: 24.02 kB / 0.5149 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.566e-05/0.2647, allocations: 47.12 kB / 0.515 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.2651, allocations: 0.8861 MB / 0.5158 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.19e-05/0.2651, allocations: 174.3 kB / 0.516 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.2651, allocations: 88.08 kB / 0.5161 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.2652, allocations: 84.36 kB / 0.5162 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.2652, allocations: 105.8 kB / 0.5163 GB, free: 9.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.2652, allocations: 1.344 kB / 0.5163 GB, free: 9.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.679e-05/0.2652, allocations: 36.88 kB / 0.5163 GB, free: 9.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.2653, allocations: 128.3 kB / 0.5164 GB, free: 8.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.2654, allocations: 187.4 kB / 0.5166 GB, free: 8.785 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-06/0.2654, allocations: 25.7 kB / 0.5166 GB, free: 8.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.2655, allocations: 155.8 kB / 0.5168 GB, free: 8.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-06/0.2655, allocations: 1.375 kB / 0.5168 GB, free: 8.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.2655, allocations: 44.78 kB / 0.5168 GB, free: 8.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.024e-05/0.2656, allocations: 317.6 kB / 0.5171 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/0.2656, allocations: 39.22 kB / 0.5171 GB, free: 8.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/0.2657, allocations: 155.5 kB / 0.5173 GB, free: 8.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.2658, allocations: 207.7 kB / 0.5175 GB, free: 7.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.2658, allocations: 1.219 kB / 0.5175 GB, free: 7.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002942/0.2661, allocations: 198.2 kB / 0.5177 GB, free: 7.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2661, allocations: 10.34 kB / 0.5177 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2661, allocations: 4.344 kB / 0.5177 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.2661, allocations: 6.844 kB / 0.5177 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.2663, allocations: 40.34 kB / 0.5177 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.2663, allocations: 9.531 kB / 0.5178 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.2664, allocations: 24.7 kB / 0.5178 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.2664, allocations: 8.875 kB / 0.5178 GB, free: 7.684 MB / 382.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 7.734e-05/0.2665, allocations: 223 kB / 0.518 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.2665, allocations: 113.5 kB / 0.5181 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.2665, allocations: 118.1 kB / 0.5182 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.887e-05/0.2665, allocations: 180.2 kB / 0.5184 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-05/0.2666, allocations: 185.5 kB / 0.5186 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/0.2666, allocations: 181.8 kB / 0.5187 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.2667, allocations: 424.1 kB / 0.5191 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.2667, allocations: 110.4 kB / 0.5193 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.321e-05/0.2668, allocations: 102.2 kB / 0.5193 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.156e-05/0.2668, allocations: 180.2 kB / 0.5195 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.2668, allocations: 177.5 kB / 0.5197 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.064e-05/0.2668, allocations: 189.6 kB / 0.5199 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.481e-05/0.2669, allocations: 181.4 kB / 0.52 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.349e-05/0.2669, allocations: 314.6 kB / 0.5203 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.267, allocations: 188.3 kB / 0.5205 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.267, allocations: 185.2 kB / 0.5207 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.223e-05/0.2671, allocations: 106.1 kB / 0.5208 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.2671, allocations: 181.3 kB / 0.521 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.2671, allocations: 106 kB / 0.5211 GB, free: 4.137 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.395e-05/0.2672, allocations: 128.9 kB / 0.5212 GB, free: 4.039 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2672, allocations: 0 / 0.5212 GB, free: 4.039 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.2675, allocations: 16.75 kB / 0.5212 GB, free: 4.035 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 (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.0008182/0.2683, allocations: 0.9187 MB / 0.5221 GB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.2685, allocations: 76.34 kB / 0.5222 GB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2685, allocations: 0 / 0.5222 GB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/0.2685, allocations: 3.938 kB / 0.5222 GB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.2688, allocations: 465.2 kB / 0.5226 GB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.27, allocations: 1.875 MB / 0.5245 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.2702, allocations: 0.6984 MB / 0.5251 GB, free: 116 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001901/0.2704, allocations: 51.14 kB / 0.5252 GB, free: 88 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.2704, allocations: 26.3 kB / 0.5252 GB, free: 68 kB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2704, allocations: 0 / 0.5252 GB, free: 68 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.2888, allocations: 2.136 MB / 0.5273 GB, free: 14.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.604/8.893, allocations: 7.594 kB / 0.5273 GB, free: 14.02 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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: 12.000840091030113]