Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test8",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.0007753/0.0007753, allocations: 176.1 kB / 16.72 MB, free: 5.082 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.166/1.166, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0006363/0.0006363, allocations: 94.3 kB / 271.2 MB, free: 8.254 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.2825/0.2825, allocations: 43.57 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003784, allocations: 12 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09334/0.09374, allocations: 58.84 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.001528/0.0953, allocations: 1.27 MB / 492.2 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004274/0.09574, allocations: 295.8 kB / 492.5 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.09579, allocations: 0 / 492.5 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.09623, allocations: 447.2 kB / 492.9 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.09649, allocations: 231.6 kB / 493.1 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.09675, allocations: 99.81 kB / 493.2 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.0969, allocations: 123.7 kB / 493.4 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.444e-05/0.09698, allocations: 15.98 kB / 493.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.217e-05/0.09708, allocations: 91.8 kB / 493.5 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.09725, allocations: 167.7 kB / 493.6 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.09728, allocations: 4 kB / 493.6 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.539e-05/0.09734, allocations: 23.97 kB / 493.7 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.263e-05/0.09743, allocations: 83.69 kB / 493.7 MB, free: 7.961 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.848e-05/0.09751, allocations: 112.9 kB / 493.8 MB, free: 7.844 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.09768, allocations: 171.8 kB / 494 MB, free: 7.676 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.09769, allocations: 0 / 494 MB, free: 7.676 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.0977, allocations: 0 / 494 MB, free: 7.676 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.09771, allocations: 4 kB / 494 MB, free: 7.672 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005578/0.09827, allocations: 0.5874 MB / 494.6 MB, free: 7.035 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.09832, allocations: 8.031 kB / 494.6 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.944e-05/0.09835, allocations: 34.69 kB / 494.6 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.0984, allocations: 44.47 kB / 494.7 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.09867, allocations: 296.1 kB / 495 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.09869, allocations: 384 / 495 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.0987, allocations: 4.375 kB / 495 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.09883, allocations: 53.62 kB / 495 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.09884, allocations: 0 / 495 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.09885, allocations: 0 / 495 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.09886, allocations: 0 / 495 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.766e-05/0.09895, allocations: 23.98 kB / 495.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.09935, allocations: 384.7 kB / 495.4 MB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.295e-05/0.09944, allocations: 34.56 kB / 495.5 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.152e-05/0.09949, allocations: 12.92 kB / 495.5 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.09951, allocations: 0 / 495.5 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.09953, allocations: 30.56 kB / 495.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.09954, allocations: 4 kB / 495.5 MB, free: 6 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002401/0.09979, allocations: 109.1 kB / 495.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.09982, allocations: 51.41 kB / 495.7 MB, free: 5.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007085/0.1005, allocations: 0.8574 MB / 496.5 MB, free: 4.957 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.1006, allocations: 25.7 kB / 496.6 MB, free: 4.926 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1007, allocations: 232 kB / 496.8 MB, free: 4.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.1007, allocations: 8.031 kB / 496.8 MB, free: 4.688 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.1007, allocations: 0 / 496.8 MB, free: 4.688 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1009, allocations: 362.7 kB / 497.1 MB, free: 4.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.1009, allocations: 11.98 kB / 497.2 MB, free: 4.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.119e-05/0.101, allocations: 8 kB / 497.2 MB, free: 4.305 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.024e-05/0.101, allocations: 32.84 kB / 497.2 MB, free: 4.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.101, allocations: 4 kB / 497.2 MB, free: 4.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001264/0.1012, allocations: 89.12 kB / 497.3 MB, free: 4.172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1012, allocations: 11.59 kB / 497.3 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1012, allocations: 0 / 497.3 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1012, allocations: 0 / 497.3 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.429e-05/0.1013, allocations: 7.984 kB / 497.3 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1013, allocations: 4.031 kB / 497.3 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.279e-05/0.1014, allocations: 11.88 kB / 497.3 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.1014, allocations: 0 / 497.3 MB, free: 4.141 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.1015, allocations: 217.7 kB / 497.5 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.1016, allocations: 43.44 kB / 497.6 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.1018, allocations: 108.6 kB / 497.7 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1018, allocations: 0 / 497.7 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1018, allocations: 0 / 497.7 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1018, allocations: 4 kB / 497.7 MB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.102, allocations: 289.5 kB / 498 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.102, allocations: 0 / 498 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.1021, allocations: 4 kB / 498 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1021, allocations: 0 / 498 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.1021, allocations: 4 kB / 498 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1021, allocations: 7.984 kB / 498 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1021, allocations: 0 / 498 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.1023, allocations: 191 kB / 498.2 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.1023, allocations: 116.5 kB / 498.3 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.1024, allocations: 0 / 498.3 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.1025, allocations: 4 kB / 498.3 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.1025, allocations: 32 / 498.3 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.1025, allocations: 8 kB / 498.3 MB, free: 3.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005268/0.103, allocations: 0.6511 MB / 498.9 MB, free: 2.414 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.103, allocations: 0 / 498.9 MB, free: 2.414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002159/0.1033, allocations: 23.94 kB / 499 MB, free: 2.391 MB / 378.7 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 (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.001017/0.1043, allocations: 0.98 MB / 500 MB, free: 1.426 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.1044, allocations: 31.92 kB / 500 MB, free: 1.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1044, allocations: 0 / 500 MB, free: 1.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.032e-05/0.1045, allocations: 12 kB / 500 MB, free: 1.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.1048, allocations: 21.95 kB / 0.4883 GB, free: 1.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1605/0.2653, allocations: 2.279 MB / 0.4905 GB, free: 42.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.2656, allocations: 0.818 MB / 0.4913 GB, free: 41.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.2657, allocations: 105 kB / 0.4914 GB, free: 41.98 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2657, allocations: 0 / 0.4914 GB, free: 41.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.625/2.89, allocations: 6.243 MB / 0.4975 GB, free: 40.78 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test8.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches