Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008112/0.0008114, allocations: 170.7 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.158/1.158, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007828/0.0007829, allocations: 85.42 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2711/0.2711, allocations: 43.56 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 12 kB / 432.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09195/0.09231, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.001994/0.09435, allocations: 1.601 MB / 492.5 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.09564, allocations: 0.9214 MB / 493.5 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.236e-05/0.09573, allocations: 0 / 493.5 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.09592, allocations: 23.8 kB / 493.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.0962, allocations: 135.6 kB / 493.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008035/0.09701, allocations: 371.3 kB / 494 MB, free: 7.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.09729, allocations: 211.3 kB / 494.2 MB, free: 7.523 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.09743, allocations: 60.17 kB / 494.2 MB, free: 7.465 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.09759, allocations: 103.5 kB / 494.3 MB, free: 7.363 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.09779, allocations: 147.5 kB / 494.5 MB, free: 7.219 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.09783, allocations: 11.98 kB / 494.5 MB, free: 7.207 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.293e-05/0.09792, allocations: 27.98 kB / 494.5 MB, free: 7.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.09805, allocations: 123.6 kB / 494.6 MB, free: 7.059 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.09818, allocations: 168.6 kB / 494.8 MB, free: 6.887 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.09846, allocations: 267.8 kB / 495.1 MB, free: 6.625 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.09847, allocations: 0 / 495.1 MB, free: 6.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09848, allocations: 0 / 495.1 MB, free: 6.625 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.076e-06/0.09849, allocations: 0 / 495.1 MB, free: 6.625 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008154/0.09931, allocations: 0.7038 MB / 495.8 MB, free: 5.871 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.09936, allocations: 12.02 kB / 495.8 MB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.0994, allocations: 38.75 kB / 495.8 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/0.09948, allocations: 52.28 kB / 495.9 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.09995, allocations: 451.9 kB / 496.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.09997, allocations: 4.375 kB / 496.3 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.1, allocations: 19.88 kB / 496.3 MB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.1003, allocations: 131.3 kB / 496.5 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1003, allocations: 3.906 kB / 496.5 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1003, allocations: 8 kB / 496.5 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1003, allocations: 0 / 496.5 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.1005, allocations: 87.88 kB / 496.6 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008328/0.1013, allocations: 0.6722 MB / 497.2 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.1015, allocations: 121.4 kB / 497.4 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1017, allocations: 49.83 kB / 497.4 MB, free: 4.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.1017, allocations: 11.88 kB / 497.4 MB, free: 4.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.1017, allocations: 30.56 kB / 497.4 MB, free: 4.051 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1017, allocations: 4 kB / 497.4 MB, free: 4.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001305/0.103, allocations: 0.5415 MB / 498 MB, free: 3.496 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.1031, allocations: 81.11 kB / 498.1 MB, free: 3.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008442/0.1039, allocations: 0.874 MB / 498.9 MB, free: 2.512 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.104, allocations: 29.64 kB / 499 MB, free: 2.477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.1042, allocations: 252.2 kB / 499.2 MB, free: 2.223 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.1042, allocations: 47.25 kB / 499.3 MB, free: 2.176 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.1042, allocations: 8 kB / 499.3 MB, free: 2.168 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1044, allocations: 374.7 kB / 499.6 MB, free: 1.793 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.1045, allocations: 63.97 kB / 499.7 MB, free: 1.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.1047, allocations: 85.27 kB / 499.8 MB, free: 1.645 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.105, allocations: 149.8 kB / 499.9 MB, free: 1.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.105, allocations: 0 / 499.9 MB, free: 1.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004325/0.1055, allocations: 240.9 kB / 0.4884 GB, free: 1.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1055, allocations: 8 kB / 0.4884 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1055, allocations: 0 / 0.4884 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1055, allocations: 4 kB / 0.4885 GB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.1057, allocations: 48.08 kB / 0.4885 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1057, allocations: 0 / 0.4885 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.1059, allocations: 16 kB / 0.4885 GB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.1059, allocations: 11.98 kB / 0.4885 GB, free: 1.164 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.1061, allocations: 213.7 kB / 0.4887 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.1062, allocations: 55.25 kB / 0.4888 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005422/0.1067, allocations: 278 kB / 0.489 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1067, allocations: 0 / 0.489 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1067, allocations: 0 / 0.489 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1067, allocations: 0 / 0.489 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1576/0.2643, allocations: 0.7861 MB / 0.4898 GB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.2644, allocations: 0.8906 kB / 0.4898 GB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.2646, allocations: 45.05 kB / 0.4899 GB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.2646, allocations: 3.969 kB / 0.4899 GB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.2646, allocations: 4.969 kB / 0.4899 GB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.2646, allocations: 8.75 kB / 0.4899 GB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.2646, allocations: 0 / 0.4899 GB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/0.2651, allocations: 414.6 kB / 0.4903 GB, free: 42.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.2653, allocations: 154.3 kB / 0.4904 GB, free: 42.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.2653, allocations: 6.625 kB / 0.4904 GB, free: 42.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.2655, allocations: 16.83 kB / 0.4904 GB, free: 42.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.2656, allocations: 13.52 kB / 0.4905 GB, free: 42.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.2656, allocations: 10.58 kB / 0.4905 GB, free: 42.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000627/0.2662, allocations: 0.6388 MB / 0.4911 GB, free: 42.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2662, allocations: 3.688 kB / 0.4911 GB, free: 42.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00032/0.2665, allocations: 51.14 kB / 0.4911 GB, free: 42.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001227/0.2678, allocations: 1.241 MB / 0.4924 GB, free: 41.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003752/0.2682, allocations: 164 kB / 0.4925 GB, free: 41.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2682, allocations: 1.219 kB / 0.4925 GB, free: 41.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.2684, allocations: 84.89 kB / 0.4926 GB, free: 41.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.2689, allocations: 70.52 kB / 0.4927 GB, free: 41.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.2731, allocations: 3.14 MB / 0.4957 GB, free: 40.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.2734, allocations: 0.8556 MB / 0.4966 GB, free: 40.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.2736, allocations: 163.2 kB / 0.4967 GB, free: 40.04 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2736, allocations: 0 / 0.4967 GB, free: 40.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.795/3.068, allocations: 7.155 MB / 0.5037 GB, free: 39.27 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test22.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches