Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2588/0.2588, allocations: 46.09 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 76.94 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09749/0.0989, allocations: 62.44 MB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002761/0.1017, allocations: 1.715 MB / 481.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008759/0.1026, allocations: 0.5455 MB / 481.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.1027, allocations: 0 / 481.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.1031, allocations: 455.2 kB / 482.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.1035, allocations: 267.5 kB / 482.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.1039, allocations: 131 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.1041, allocations: 167.7 kB / 482.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.1041, allocations: 12 kB / 482.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1043, allocations: 115.7 kB / 483 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.1045, allocations: 215.6 kB / 483.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1045, allocations: 4 kB / 483.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-05/0.1046, allocations: 35.92 kB / 483.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.087e-05/0.1047, allocations: 87.67 kB / 483.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.369e-05/0.1048, allocations: 102.9 kB / 483.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.105, allocations: 263.2 kB / 483.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.105, allocations: 0 / 483.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.105, allocations: 0 / 483.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.105, allocations: 4 kB / 483.7 MB, free: 1.418 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006834/0.1057, allocations: 0.6414 MB / 484.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1058, allocations: 8.031 kB / 484.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.1058, allocations: 34.69 kB / 484.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.1059, allocations: 44.38 kB / 484.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1061, allocations: 300.1 kB / 484.7 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.1061, allocations: 384 / 484.7 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1062, allocations: 8.375 kB / 484.7 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.1063, allocations: 61.59 kB / 484.8 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1063, allocations: 0 / 484.8 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1063, allocations: 4 kB / 484.8 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1064, allocations: 0 / 484.8 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.151e-05/0.1064, allocations: 23.98 kB / 484.8 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.1069, allocations: 400.5 kB / 485.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.1071, allocations: 46.5 kB / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.1072, allocations: 20.94 kB / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1072, allocations: 0 / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1072, allocations: 34.5 kB / 485.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1073, allocations: 3.938 kB / 485.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005796/0.1078, allocations: 232 kB / 485.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.1079, allocations: 55.34 kB / 485.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008016/0.1087, allocations: 0.8776 MB / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.1087, allocations: 25.7 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.1089, allocations: 228.1 kB / 486.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.1089, allocations: 15.66 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.1089, allocations: 21.7 kB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1091, allocations: 366.8 kB / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.562e-05/0.1092, allocations: 11.98 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-05/0.1092, allocations: 19.98 kB / 487.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1094, allocations: 48.83 kB / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1094, allocations: 0 / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000198/0.1096, allocations: 113.1 kB / 487.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1096, allocations: 11.98 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1096, allocations: 0 / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1096, allocations: 0 / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.1097, allocations: 12 kB / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1097, allocations: 0 / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.438e-05/0.1098, allocations: 15.83 kB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1098, allocations: 4 kB / 487.3 MB, free: 13.54 MB / 366.1 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 (5): * Single equations (assignments): 5 * 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.0001711/0.11, allocations: 205.8 kB / 487.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.11, allocations: 43.52 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.1103, allocations: 141.2 kB / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1103, allocations: 0 / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1104, allocations: 0 / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1104, allocations: 3.938 kB / 487.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005269/0.1109, allocations: 462.7 kB / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1109, allocations: 8.062 kB / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.882e-05/0.111, allocations: 19.98 kB / 488.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.111, allocations: 0 / 488.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.111, allocations: 7.875 kB / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.111, allocations: 0 / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.111, allocations: 4 kB / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.1113, allocations: 211 kB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.1114, allocations: 112.5 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.1114, allocations: 3.938 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.385e-05/0.1115, allocations: 11.98 kB / 488.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.1115, allocations: 4 kB / 488.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1115, allocations: 0 / 488.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00059/0.1121, allocations: 0.6589 MB / 489.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1121, allocations: 0 / 489.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1124, allocations: 23.94 kB / 489.2 MB, free: 11.54 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 (5): * Single equations (assignments): 5 * 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.001362/0.1138, allocations: 1.045 MB / 490.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.114, allocations: 43.97 kB / 490.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.114, allocations: 0 / 490.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.36e-05/0.1141, allocations: 31.92 kB / 490.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.1145, allocations: 26.3 kB / 490.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.1182, allocations: 3.326 MB / 493.7 MB, free: 7.078 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.1186, allocations: 0.8221 MB / 494.5 MB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.191e-05/0.1187, allocations: 15.97 kB / 494.5 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.1188, allocations: 103.4 kB / 494.6 MB, free: 6.109 MB / 366.1 MB Notification: Performance of SimCode: time 1.723e-06/0.1188, allocations: 112 / 494.6 MB, free: 6.109 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.1354, allocations: 5.825 MB / 0.4887 GB, free: 380 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.1357, allocations: 235.5 kB / 0.4889 GB, free: 120 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.142, allocations: 3.938 kB / 0.489 GB, free: 116 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches