Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test7",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.0008321/0.0008322, allocations: 175.2 kB / 16.72 MB, free: 5.078 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.178/1.178, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007931/0.0007932, allocations: 101.4 kB / 271.2 MB, free: 8.23 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.2896/0.2896, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003419, allocations: 12 kB / 432.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08959/0.08995, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.00162/0.09161, allocations: 1.266 MB / 492.2 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005013/0.09213, allocations: 299.8 kB / 492.5 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.09219, allocations: 0 / 492.5 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004331/0.09263, allocations: 439.2 kB / 492.9 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.09291, allocations: 239.6 kB / 493.1 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.09318, allocations: 91.81 kB / 493.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.09335, allocations: 119.7 kB / 493.4 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.649e-05/0.09343, allocations: 19.97 kB / 493.4 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.09354, allocations: 95.78 kB / 493.5 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.09373, allocations: 171.7 kB / 493.6 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.09375, allocations: 0 / 493.6 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.895e-05/0.09382, allocations: 16 kB / 493.7 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.09391, allocations: 79.69 kB / 493.7 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.059e-05/0.094, allocations: 116.9 kB / 493.8 MB, free: 7.852 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.09417, allocations: 171.8 kB / 494 MB, free: 7.684 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.09419, allocations: 0 / 494 MB, free: 7.684 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09419, allocations: 0 / 494 MB, free: 7.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.0942, allocations: 0 / 494 MB, free: 7.684 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.0005547/0.09476, allocations: 0.5952 MB / 494.6 MB, free: 7.039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.0948, allocations: 8.031 kB / 494.6 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.09485, allocations: 38.67 kB / 494.7 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.09491, allocations: 44.47 kB / 494.7 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.09514, allocations: 292.2 kB / 495 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.09516, allocations: 384 / 495 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.617e-06/0.09517, allocations: 4.375 kB / 495 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.09529, allocations: 57.62 kB / 495 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.09531, allocations: 0 / 495 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.09532, allocations: 0 / 495 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.09533, allocations: 0 / 495 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.81e-05/0.09541, allocations: 23.98 kB / 495.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.09582, allocations: 388.6 kB / 495.4 MB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.564e-05/0.09591, allocations: 26.58 kB / 495.5 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.54e-05/0.09597, allocations: 20.91 kB / 495.5 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.09599, allocations: 0 / 495.5 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.09602, allocations: 30.56 kB / 495.5 MB, free: 6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.09603, allocations: 4 kB / 495.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002286/0.09626, allocations: 105.1 kB / 495.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.0963, allocations: 55.34 kB / 495.7 MB, free: 5.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007049/0.09701, allocations: 0.8613 MB / 496.5 MB, free: 4.949 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.09703, allocations: 29.7 kB / 496.6 MB, free: 4.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.09717, allocations: 216.1 kB / 496.8 MB, free: 4.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.09719, allocations: 7.906 kB / 496.8 MB, free: 4.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/0.0972, allocations: 4.125 kB / 496.8 MB, free: 4.688 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.09733, allocations: 362.7 kB / 497.1 MB, free: 4.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.77e-05/0.09737, allocations: 8 kB / 497.2 MB, free: 4.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.311e-05/0.09741, allocations: 15.98 kB / 497.2 MB, free: 4.301 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.325e-05/0.09749, allocations: 32.91 kB / 497.2 MB, free: 4.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.0975, allocations: 3.938 kB / 497.2 MB, free: 4.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001335/0.09764, allocations: 93.12 kB / 497.3 MB, free: 4.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.09766, allocations: 4 kB / 497.3 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.09767, allocations: 0 / 497.3 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.09768, allocations: 0 / 497.3 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.09774, allocations: 4 kB / 497.3 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.09776, allocations: 4 kB / 497.3 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.09782, allocations: 15.89 kB / 497.3 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.09783, allocations: 4 kB / 497.3 MB, free: 4.133 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.0001538/0.09799, allocations: 205.7 kB / 497.5 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.09804, allocations: 43.44 kB / 497.6 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.09821, allocations: 112.6 kB / 497.7 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.09823, allocations: 4.031 kB / 497.7 MB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.09824, allocations: 4 kB / 497.7 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.09824, allocations: 0 / 497.7 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.09848, allocations: 281.5 kB / 498 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.09849, allocations: 0 / 498 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.09853, allocations: 4 kB / 498 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.09854, allocations: 4 kB / 498 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.09855, allocations: 0 / 498 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.09855, allocations: 0 / 498 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.09856, allocations: 0 / 498 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.09873, allocations: 198.9 kB / 498.2 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.0988, allocations: 108.5 kB / 498.3 MB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.09883, allocations: 8 kB / 498.3 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.0989, allocations: 3.984 kB / 498.3 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.09893, allocations: 4 kB / 498.3 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.09894, allocations: 8.031 kB / 498.3 MB, free: 3.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005184/0.09947, allocations: 0.6511 MB / 498.9 MB, free: 2.414 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09947, allocations: 0 / 498.9 MB, free: 2.414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.0997, allocations: 19.94 kB / 499 MB, free: 2.395 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.0009163/0.1006, allocations: 0.9802 MB / 499.9 MB, free: 1.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.1008, allocations: 31.92 kB / 500 MB, free: 1.398 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1008, allocations: 4 kB / 500 MB, free: 1.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.822e-05/0.1008, allocations: 11.98 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.0003077/0.1011, allocations: 17.97 kB / 0.4883 GB, free: 1.363 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1419/0.2431, allocations: 2.282 MB / 0.4905 GB, free: 42.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.2433, allocations: 0.8161 MB / 0.4913 GB, free: 42.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.2435, allocations: 106.1 kB / 0.4914 GB, free: 42.03 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2435, allocations: 1.031 kB / 0.4914 GB, free: 42.03 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.674/2.918, allocations: 6.243 MB / 0.4975 GB, free: 40.83 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test7.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches