Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008781/0.0008781, allocations: 90.12 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001049/0.001049, allocations: 203 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 227.7 MB / 246.8 MB, free: 9.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1813/0.1813, allocations: 46.18 MB / 345.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002315/0.0002315, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08829/0.08854, allocations: 63.56 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.001831/0.09041, allocations: 1.376 MB / 484.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008077/0.09124, allocations: 0.6526 MB / 485.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.09128, allocations: 4 kB / 485.2 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.0915, allocations: 35.89 kB / 485.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.09166, allocations: 31.91 kB / 485.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.697e-06/0.09167, allocations: 3.938 kB / 485.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.09182, allocations: 47.88 kB / 485.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.09186, allocations: 15.98 kB / 485.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.09189, allocations: 7.938 kB / 485.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.615e-05/0.09197, allocations: 19.92 kB / 485.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.866e-06/0.09199, allocations: 0 / 485.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.336e-05/0.09204, allocations: 15.92 kB / 485.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.223e-05/0.09209, allocations: 23.92 kB / 485.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.09213, allocations: 45.56 kB / 485.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.09225, allocations: 67.95 kB / 485.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.09227, allocations: 4 kB / 485.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09227, allocations: 0 / 485.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.09228, allocations: 0 / 485.5 MB, free: 1.68 MB / 350.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.0003062/0.09259, allocations: 351.4 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.09263, allocations: 12.88 kB / 485.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.09267, allocations: 34.73 kB / 485.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.192e-05/0.0927, allocations: 12.84 kB / 485.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.09282, allocations: 180.2 kB / 486.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.09283, allocations: 384 / 486.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.09285, allocations: 8.359 kB / 486.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.093, allocations: 119.4 kB / 486.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.09302, allocations: 11.88 kB / 486.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.09303, allocations: 0 / 486.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.901e-05/0.09308, allocations: 23.98 kB / 486.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.025e-05/0.09315, allocations: 43.91 kB / 486.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.0937, allocations: 0.8867 MB / 487.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.691e-05/0.09377, allocations: 165.1 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/0.09381, allocations: 84.08 kB / 487.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.09384, allocations: 79.31 kB / 487.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.09388, allocations: 113.8 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.09389, allocations: 4 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.034e-05/0.09396, allocations: 37.55 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.09401, allocations: 126.7 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.09418, allocations: 186 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.0942, allocations: 25.7 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.542e-05/0.09429, allocations: 151.1 kB / 488.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-06/0.0943, allocations: 8 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.09434, allocations: 25.64 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.962e-05/0.09443, allocations: 318.8 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.788e-05/0.09449, allocations: 35.97 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.0946, allocations: 159.3 kB / 488.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.09479, allocations: 200.9 kB / 488.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.0948, allocations: 4 kB / 488.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002841/0.09509, allocations: 201.6 kB / 489.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.09511, allocations: 10.5 kB / 489.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.09513, allocations: 4 kB / 489.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.09514, allocations: 4 kB / 489.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.09526, allocations: 39.91 kB / 489.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.09528, allocations: 11.94 kB / 489.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.86e-05/0.09538, allocations: 31.69 kB / 489.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.09539, allocations: 11.98 kB / 489.2 MB, free: 13.62 MB / 366.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 0.0001069/0.09551, allocations: 221.1 kB / 489.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.09557, allocations: 112.8 kB / 489.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.09563, allocations: 112.9 kB / 489.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.192e-05/0.09568, allocations: 188.2 kB / 489.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-05/0.09574, allocations: 180.3 kB / 490 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-05/0.0958, allocations: 180.2 kB / 490.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.09601, allocations: 429.1 kB / 490.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.75e-05/0.09604, allocations: 105 kB / 490.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.09608, allocations: 104.9 kB / 490.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.745e-05/0.09613, allocations: 176.3 kB / 491 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.09618, allocations: 184.2 kB / 491.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.926e-05/0.09624, allocations: 184.2 kB / 491.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.961e-05/0.09629, allocations: 176.3 kB / 491.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.09641, allocations: 315.6 kB / 491.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.09648, allocations: 193.9 kB / 492 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.49e-05/0.09655, allocations: 176.3 kB / 492.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.09663, allocations: 109 kB / 492.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.09669, allocations: 180.2 kB / 492.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.09673, allocations: 109 kB / 492.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.841e-05/0.09682, allocations: 127.2 kB / 492.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09683, allocations: 0 / 492.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.09712, allocations: 16 kB / 492.7 MB, free: 9.895 MB / 366.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.0006319/0.09775, allocations: 0.9126 MB / 493.6 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.09789, allocations: 80.98 kB / 493.7 MB, free: 8.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.0979, allocations: 4.062 kB / 493.7 MB, free: 8.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.0979, allocations: 0 / 493.7 MB, free: 8.918 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.09825, allocations: 0.5224 MB / 494.2 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.09961, allocations: 1.885 MB / 496.1 MB, free: 6.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.09984, allocations: 0.7009 MB / 496.8 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001383/0.09999, allocations: 45.03 kB / 496.8 MB, free: 5.535 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.1, allocations: 35.36 kB / 496.9 MB, free: 5.5 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1001, allocations: 0 / 496.9 MB, free: 5.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.1107, allocations: 1.751 MB / 498.6 MB, free: 3.863 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.1109, allocations: 228 kB / 498.8 MB, free: 3.609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/1.683, allocations: 7.938 kB / 498.9 MB, free: 3.602 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches