Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test6",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.0009653/0.0009653, allocations: 175.2 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.151/1.151, 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.0007291/0.0007292, allocations: 90.34 kB / 271.2 MB, free: 8.258 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.2907/0.2907, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003137, allocations: 12 kB / 432.1 MB, free: 5.508 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0887/0.08902, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.001724/0.09079, allocations: 1.309 MB / 492.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000495/0.0913, allocations: 311.8 kB / 492.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.09135, allocations: 4 kB / 492.6 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004402/0.0918, allocations: 435.2 kB / 493 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.09206, allocations: 243.6 kB / 493.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.09233, allocations: 95.8 kB / 493.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.09249, allocations: 127.7 kB / 493.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.875e-05/0.09258, allocations: 20.17 kB / 493.5 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.608e-05/0.09268, allocations: 103.8 kB / 493.6 MB, free: 7.926 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.09285, allocations: 159.7 kB / 493.7 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.09288, allocations: 0 / 493.7 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.623e-05/0.09296, allocations: 35.92 kB / 493.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.13e-05/0.09305, allocations: 75.75 kB / 493.8 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.825e-05/0.09313, allocations: 116.8 kB / 493.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.09332, allocations: 195.9 kB / 494.1 MB, free: 7.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.09334, allocations: 4 kB / 494.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.09334, allocations: 0 / 494.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.09335, allocations: 0 / 494.1 MB, free: 7.344 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000564/0.09392, allocations: 0.599 MB / 494.7 MB, free: 6.695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.09396, allocations: 12.03 kB / 494.7 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.814e-05/0.094, allocations: 30.75 kB / 494.8 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.09404, allocations: 44.38 kB / 494.8 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.09428, allocations: 296.2 kB / 495.1 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.09429, allocations: 4.312 kB / 495.1 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.09432, allocations: 16.03 kB / 495.1 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.09448, allocations: 57.67 kB / 495.2 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.0945, allocations: 0 / 495.2 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.09451, allocations: 4 kB / 495.2 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.09452, allocations: 0 / 495.2 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.09466, allocations: 47.91 kB / 495.2 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.09506, allocations: 396.6 kB / 495.6 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.09518, allocations: 46.56 kB / 495.7 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.818e-05/0.09526, allocations: 24.94 kB / 495.7 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.09529, allocations: 4 kB / 495.7 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.09532, allocations: 34.55 kB / 495.7 MB, free: 5.574 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.09532, allocations: 0 / 495.7 MB, free: 5.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007293/0.09605, allocations: 320 kB / 496 MB, free: 5.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.0961, allocations: 51.41 kB / 496.1 MB, free: 5.191 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007044/0.09681, allocations: 0.8613 MB / 496.9 MB, free: 4.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.09683, allocations: 25.7 kB / 497 MB, free: 4.289 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.09698, allocations: 224 kB / 497.2 MB, free: 4.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.09702, allocations: 27.59 kB / 497.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.09703, allocations: 0 / 497.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.09715, allocations: 358.8 kB / 497.6 MB, free: 3.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.09727, allocations: 43.97 kB / 497.6 MB, free: 3.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.717e-05/0.09738, allocations: 43.91 kB / 497.7 MB, free: 3.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.09759, allocations: 93.05 kB / 497.7 MB, free: 3.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.0976, allocations: 0 / 497.7 MB, free: 3.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002842/0.09789, allocations: 165.3 kB / 497.9 MB, free: 3.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.09791, allocations: 7.281 kB / 497.9 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.09792, allocations: 0 / 497.9 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.09794, allocations: 4 kB / 497.9 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.09805, allocations: 19.98 kB / 497.9 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.09806, allocations: 3.938 kB / 497.9 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.737e-05/0.09814, allocations: 19.98 kB / 498 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.09815, allocations: 11.92 kB / 498 MB, free: 3.27 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 (7): * Single equations (assignments): 7 * 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.0001558/0.09832, allocations: 205.8 kB / 498.2 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.09838, allocations: 47.52 kB / 498.2 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003397/0.09873, allocations: 177.3 kB / 498.4 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.09874, allocations: 4 kB / 498.4 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.09875, allocations: 3.938 kB / 498.4 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.09876, allocations: 0 / 498.4 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.09932, allocations: 0.5062 MB / 498.9 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.09934, allocations: 4 kB / 498.9 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.961e-05/0.09942, allocations: 27.98 kB / 498.9 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.09943, allocations: 3.938 kB / 498.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.09944, allocations: 0 / 498.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.09945, allocations: 4 kB / 498.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.09946, allocations: 0 / 498.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.09977, allocations: 251 kB / 499.2 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.282e-05/0.09986, allocations: 116.5 kB / 499.3 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.09989, allocations: 11.88 kB / 499.3 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.09999, allocations: 19.98 kB / 499.3 MB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.1, allocations: 3.984 kB / 499.3 MB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.1, allocations: 4 kB / 499.3 MB, free: 1.789 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005259/0.1006, allocations: 0.6472 MB / 500 MB, free: 1.145 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1006, allocations: 3.938 kB / 500 MB, free: 1.141 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002222/0.1008, allocations: 27.98 kB / 0.4883 GB, free: 1.113 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 (7): * Single equations (assignments): 7 * 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.001169/0.102, allocations: 1.105 MB / 0.4894 GB, free: 24 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1382/0.2402, allocations: 79.97 kB / 0.4895 GB, free: 43.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2403, allocations: 3.094 kB / 0.4895 GB, free: 43.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.2404, allocations: 57.19 kB / 0.4895 GB, free: 43.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.2408, allocations: 21.81 kB / 0.4895 GB, free: 43.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.2435, allocations: 2.414 MB / 0.4919 GB, free: 42.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.2437, allocations: 0.826 MB / 0.4927 GB, free: 41.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.2438, allocations: 103.2 kB / 0.4928 GB, free: 41.79 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2438, allocations: 0 / 0.4928 GB, free: 41.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.651/2.895, allocations: 6.59 MB / 0.4992 GB, free: 40.49 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test6.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches