Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.0007793/0.0007795, allocations: 97.05 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.0009015/0.0009017, allocations: 201.1 kB / 18.28 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.388/1.388, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002687/0.0002687, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1218, allocations: 63.54 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002206/0.1241, allocations: 1.428 MB / 484.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1252, allocations: 0.5808 MB / 485.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.1253, allocations: 4 kB / 485.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.1255, allocations: 15.86 kB / 485.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.1258, allocations: 71.75 kB / 485.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.1263, allocations: 159.2 kB / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.1265, allocations: 99.67 kB / 485.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1266, allocations: 16 kB / 485.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.924e-05/0.1267, allocations: 27.86 kB / 485.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.902e-05/0.1268, allocations: 51.75 kB / 485.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1268, allocations: 0 / 485.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.127, allocations: 103.9 kB / 485.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.1271, allocations: 15.92 kB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.1272, allocations: 57.5 kB / 485.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.1275, allocations: 167.8 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1275, allocations: 3.938 kB / 485.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1275, allocations: 0 / 485.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.1275, allocations: 0 / 485.9 MB, free: 1.281 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.0006704/0.1282, allocations: 449.2 kB / 486.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1283, allocations: 8.875 kB / 486.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.332e-05/0.1283, allocations: 42.75 kB / 486.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.1284, allocations: 8.844 kB / 486.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.1286, allocations: 204.1 kB / 486.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1287, allocations: 4.375 kB / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.1287, allocations: 4.375 kB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.129, allocations: 103.3 kB / 486.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.129, allocations: 7.938 kB / 486.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.129, allocations: 4 kB / 486.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.1291, allocations: 0 / 486.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.1294, allocations: 91.92 kB / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006651/0.1301, allocations: 364.6 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.1303, allocations: 86.47 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.1305, allocations: 64.94 kB / 487.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.1306, allocations: 3.938 kB / 487.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1306, allocations: 30.56 kB / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.1306, allocations: 4 kB / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001799/0.1324, allocations: 0.497 MB / 487.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.1325, allocations: 77.11 kB / 488 MB, free: 15.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.1327, allocations: 174.1 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1327, allocations: 29.7 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.1328, allocations: 100.1 kB / 488.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.1328, allocations: 39.48 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.1328, allocations: 13.72 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.133, allocations: 322.8 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.1333, allocations: 103.9 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.1336, allocations: 117.6 kB / 488.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006078/0.1342, allocations: 213 kB / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1343, allocations: 0 / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007111/0.135, allocations: 253.3 kB / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.135, allocations: 11.98 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.135, allocations: 0 / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.135, allocations: 3.984 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.1353, allocations: 51.91 kB / 489.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1353, allocations: 3.938 kB / 489.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1355, allocations: 43.95 kB / 489.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1355, allocations: 4 kB / 489.4 MB, free: 13.55 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 0.0001065/0.1356, allocations: 117.8 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.1357, allocations: 11.91 kB / 489.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007733/0.1365, allocations: 270.1 kB / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1365, allocations: 0 / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1365, allocations: 3.938 kB / 489.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1365, allocations: 0 / 489.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.1375, allocations: 0.5607 MB / 490.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1376, allocations: 0 / 490.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.1378, allocations: 52.12 kB / 490.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1378, allocations: 0 / 490.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1378, allocations: 8.312 kB / 490.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1378, allocations: 11.92 kB / 490.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1378, allocations: 4 kB / 490.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007453/0.1386, allocations: 343.2 kB / 490.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.021e-05/0.1386, allocations: 96.94 kB / 490.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.1387, allocations: 0 / 490.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.1389, allocations: 39.97 kB / 490.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.1389, allocations: 7.984 kB / 490.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.139, allocations: 0 / 490.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1391, allocations: 131.2 kB / 491.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1391, allocations: 0 / 491.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003227/0.1394, allocations: 48 kB / 491.1 MB, free: 11.77 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.002142/0.1416, allocations: 1.276 MB / 492.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007216/0.1423, allocations: 215.8 kB / 492.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1423, allocations: 0 / 492.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.1427, allocations: 115.9 kB / 492.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.143, allocations: 15.98 kB / 492.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.1463, allocations: 2.056 MB / 494.8 MB, free: 8.148 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1467, allocations: 0.7158 MB / 495.5 MB, free: 7.406 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.1468, allocations: 24.53 kB / 495.5 MB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.787e-05/0.1469, allocations: 39.36 kB / 495.6 MB, free: 7.344 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1469, allocations: 0 / 495.6 MB, free: 7.344 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.1616, allocations: 3.804 MB / 499.4 MB, free: 3.68 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.1618, allocations: 244.7 kB / 499.6 MB, free: 3.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.039, allocations: 0 / 499.6 MB, free: 3.43 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches