Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009909/0.0009909, allocations: 96.33 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 207.1 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.7 MB / 246.8 MB, free: 9.668 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1972/0.1972, allocations: 46.18 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002741, allocations: 8 kB / 419.6 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1059, allocations: 63.56 MB / 483.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001866/0.1078, allocations: 1.335 MB / 484.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009487/0.1088, allocations: 0.5418 MB / 485.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.1089, allocations: 4 kB / 485.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005177/0.1094, allocations: 459.1 kB / 485.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.1098, allocations: 275.5 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.1102, allocations: 155.2 kB / 485.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.1104, allocations: 159.7 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.278e-05/0.1105, allocations: 15.98 kB / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.1106, allocations: 103.7 kB / 486.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.1108, allocations: 203.6 kB / 486.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1109, allocations: 3.938 kB / 486.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.444e-05/0.1109, allocations: 19.98 kB / 486.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.061e-05/0.111, allocations: 87.62 kB / 486.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.593e-05/0.1111, allocations: 124.7 kB / 486.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.1114, allocations: 243 kB / 486.9 MB, free: 312 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1114, allocations: 0 / 486.9 MB, free: 312 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1114, allocations: 8 kB / 486.9 MB, free: 304 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1114, allocations: 0 / 486.9 MB, free: 304 kB / 350.1 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.0006294/0.112, allocations: 0.5935 MB / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1121, allocations: 12.88 kB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.1121, allocations: 34.69 kB / 487.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.1122, allocations: 40.47 kB / 487.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1124, allocations: 300.1 kB / 487.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.1125, allocations: 384 / 487.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.1125, allocations: 4.375 kB / 487.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.1126, allocations: 61.56 kB / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1126, allocations: 3.984 kB / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.1126, allocations: 0 / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.1126, allocations: 0 / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.313e-05/0.1127, allocations: 31.98 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.1132, allocations: 392.7 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.291e-05/0.1133, allocations: 30.52 kB / 488.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.1134, allocations: 24.91 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.1134, allocations: 0 / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.1134, allocations: 34.56 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.1134, allocations: 0 / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002614/0.1137, allocations: 113.1 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.1137, allocations: 55.34 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/0.1145, allocations: 0.8777 MB / 489.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1146, allocations: 29.7 kB / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.1147, allocations: 228.2 kB / 489.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.1147, allocations: 3.906 kB / 489.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.1148, allocations: 13.72 kB / 489.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1149, allocations: 366.7 kB / 490.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.442e-05/0.115, allocations: 8 kB / 490.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.875e-05/0.115, allocations: 15.98 kB / 490.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.214e-05/0.1151, allocations: 32.91 kB / 490.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1151, allocations: 0 / 490.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001538/0.1153, allocations: 101.1 kB / 490.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1153, allocations: 7.938 kB / 490.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1153, allocations: 3.938 kB / 490.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1153, allocations: 0 / 490.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.1154, allocations: 15.97 kB / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1154, allocations: 0 / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.238e-05/0.1155, allocations: 7.984 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1155, allocations: 0 / 490.3 MB, free: 12.66 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 (2): * Single equations (assignments): 2 * 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.0001696/0.1157, allocations: 213.7 kB / 490.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.1157, allocations: 43.44 kB / 490.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.1159, allocations: 112.7 kB / 490.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1159, allocations: 0 / 490.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.116, allocations: 0 / 490.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.116, allocations: 0 / 490.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.1162, allocations: 293.5 kB / 490.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1162, allocations: 4 kB / 490.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.1163, allocations: 7.938 kB / 490.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.1163, allocations: 4 kB / 490.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.1163, allocations: 0 / 490.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1163, allocations: 4.031 kB / 490.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1163, allocations: 0 / 490.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.1165, allocations: 195 kB / 491.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.1166, allocations: 112.5 kB / 491.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1166, allocations: 0 / 491.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/0.1167, allocations: 12.03 kB / 491.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.1167, allocations: 0 / 491.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1167, allocations: 4 kB / 491.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005837/0.1173, allocations: 0.6589 MB / 491.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1173, allocations: 0 / 491.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000242/0.1176, allocations: 19.94 kB / 491.9 MB, free: 10.9 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 (2): * Single equations (assignments): 2 * 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.00108/0.1187, allocations: 0.9747 MB / 492.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.1188, allocations: 31.98 kB / 492.9 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1188, allocations: 0 / 492.9 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.431e-05/0.1189, allocations: 15.92 kB / 493 MB, free: 9.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.1192, allocations: 24.81 kB / 493 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.1224, allocations: 3.28 MB / 496.3 MB, free: 6.566 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.1228, allocations: 0.8262 MB / 497.1 MB, free: 5.711 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.987e-05/0.1229, allocations: 16.09 kB / 497.1 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.123, allocations: 115.3 kB / 497.2 MB, free: 5.582 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.123, allocations: 0 / 497.2 MB, free: 5.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.1385, allocations: 5.257 MB / 0.4907 GB, free: 436 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/0.1387, allocations: 232.4 kB / 0.4909 GB, free: 176 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/1.952, allocations: 0 / 0.4909 GB, free: 176 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches