Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008247/0.0008243, allocations: 91.48 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.001057/0.001057, allocations: 202.9 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.316/1.316, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.189/0.189, allocations: 46.18 MB / 345.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002605, allocations: 8 kB / 419.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1158, allocations: 63.56 MB / 483.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.001859/0.1177, allocations: 1.411 MB / 484.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008932/0.1186, allocations: 0.5534 MB / 485.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.1186, allocations: 0 / 485.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.1188, allocations: 27.91 kB / 485.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.119, allocations: 59.77 kB / 485.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.1193, allocations: 127.3 kB / 485.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.1194, allocations: 83.7 kB / 485.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.1195, allocations: 15.98 kB / 485.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/0.1196, allocations: 31.84 kB / 485.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.176e-05/0.1197, allocations: 39.78 kB / 485.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1197, allocations: 11.94 kB / 485.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.1199, allocations: 95.92 kB / 485.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.1199, allocations: 15.98 kB / 485.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.12, allocations: 65.42 kB / 485.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.1202, allocations: 159.8 kB / 485.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1202, allocations: 0 / 485.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1202, allocations: 3.938 kB / 485.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1202, allocations: 0 / 485.9 MB, free: 1.406 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.0005829/0.1208, allocations: 447 kB / 486.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1209, allocations: 12.88 kB / 486.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.1209, allocations: 30.75 kB / 486.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.121, allocations: 8.844 kB / 486.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.1212, allocations: 200.2 kB / 486.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.1212, allocations: 4.375 kB / 486.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.1212, allocations: 4.375 kB / 486.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.1215, allocations: 107.2 kB / 486.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1215, allocations: 0 / 486.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1215, allocations: 4 kB / 486.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1215, allocations: 4 kB / 486.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.1219, allocations: 91.91 kB / 486.8 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.1223, allocations: 328.6 kB / 487.1 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.1226, allocations: 86.58 kB / 487.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.1228, allocations: 48.95 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.1228, allocations: 4 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1228, allocations: 38.56 kB / 487.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1228, allocations: 0 / 487.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001671/0.1245, allocations: 480.7 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.1246, allocations: 81.11 kB / 487.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.1247, allocations: 162.2 kB / 488 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1248, allocations: 29.7 kB / 488 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.1248, allocations: 104.1 kB / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.1248, allocations: 31.55 kB / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.1249, allocations: 17.72 kB / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.125, allocations: 318.8 kB / 488.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.1253, allocations: 95.92 kB / 488.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.1256, allocations: 105.6 kB / 488.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005962/0.1262, allocations: 200.9 kB / 488.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1262, allocations: 0 / 488.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000667/0.1269, allocations: 237.4 kB / 489.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1269, allocations: 4 kB / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1269, allocations: 7.938 kB / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.127, allocations: 0 / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.1272, allocations: 47.95 kB / 489.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1272, allocations: 7.938 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.1274, allocations: 35.97 kB / 489.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.1274, allocations: 0 / 489.2 MB, free: 13.84 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 (10): * Single equations (assignments): 10 * 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 8.912e-05/0.1275, allocations: 121.8 kB / 489.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.1275, allocations: 11.81 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007027/0.1282, allocations: 250.2 kB / 489.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1283, allocations: 0 / 489.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1283, allocations: 3.938 kB / 489.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1283, allocations: 7.984 kB / 489.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009425/0.1292, allocations: 0.5296 MB / 490.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1292, allocations: 0 / 490.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.1294, allocations: 55.89 kB / 490.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1294, allocations: 4.281 kB / 490.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1295, allocations: 0 / 490.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1295, allocations: 0 / 490.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1295, allocations: 3.938 kB / 490.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006895/0.1302, allocations: 331.2 kB / 490.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.1302, allocations: 96.94 kB / 490.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.1303, allocations: 0 / 490.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.1305, allocations: 44.33 kB / 490.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.1305, allocations: 7.984 kB / 490.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.1305, allocations: 8 kB / 490.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1306, allocations: 130.4 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1307, allocations: 0 / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.1309, allocations: 47.98 kB / 490.8 MB, free: 12.1 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 (9): * Single equations (assignments): 9 * 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.001903/0.1328, allocations: 1.248 MB / 492.1 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006682/0.1335, allocations: 199.8 kB / 492.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1335, allocations: 0 / 492.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.1339, allocations: 107.9 kB / 492.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.1342, allocations: 19.98 kB / 492.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.1371, allocations: 1.974 MB / 494.4 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1374, allocations: 0.7043 MB / 495.1 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.819e-05/0.1375, allocations: 16.53 kB / 495.1 MB, free: 7.863 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/0.1376, allocations: 39.42 kB / 495.1 MB, free: 7.824 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1376, allocations: 3.938 kB / 495.1 MB, free: 7.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.1509, allocations: 3.676 MB / 498.8 MB, free: 4.277 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/0.1512, allocations: 248.6 kB / 499 MB, free: 4.023 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.062, allocations: 3.938 kB / 499 MB, free: 4.02 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches