Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007949/0.0007949, allocations: 97.17 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009355/0.0009354, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.7 MB / 246.8 MB, free: 9.664 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1932/0.1932, allocations: 46.18 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002794, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1195, allocations: 63.56 MB / 483.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.002596/0.1222, allocations: 1.804 MB / 485 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.1243, allocations: 1.259 MB / 486.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.1245, allocations: 3.938 kB / 486.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.1247, allocations: 35.77 kB / 486.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.1252, allocations: 195.4 kB / 486.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009684/0.1262, allocations: 437.7 kB / 486.9 MB, free: 316 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.1266, allocations: 311 kB / 487.2 MB, free: 4 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.1268, allocations: 53 kB / 487.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.1271, allocations: 127.4 kB / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.1274, allocations: 187.2 kB / 487.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.1275, allocations: 8 kB / 487.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.1276, allocations: 59.95 kB / 487.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.1278, allocations: 131.6 kB / 487.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.128, allocations: 196.2 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003926/0.1284, allocations: 406.3 kB / 488.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1284, allocations: 0 / 488.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1284, allocations: 0 / 488.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.1284, allocations: 7.938 kB / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009852/0.1294, allocations: 0.7543 MB / 489.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1294, allocations: 12.86 kB / 489.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.748e-05/0.1295, allocations: 38.75 kB / 489.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004329/0.1299, allocations: 112 kB / 489.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005786/0.1305, allocations: 492.4 kB / 489.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1305, allocations: 8.375 kB / 489.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.1306, allocations: 15.94 kB / 489.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.1309, allocations: 154.6 kB / 489.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1309, allocations: 0 / 489.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.131, allocations: 7.984 kB / 489.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.131, allocations: 4 kB / 489.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.1313, allocations: 115.9 kB / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009546/0.1323, allocations: 0.7072 MB / 490.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.1326, allocations: 133.2 kB / 490.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.1327, allocations: 73.8 kB / 491 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.1328, allocations: 4 kB / 491 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.1328, allocations: 42.44 kB / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.1328, allocations: 0 / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.00205/0.1349, allocations: 0.7591 MB / 491.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.1349, allocations: 85.11 kB / 491.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009972/0.1359, allocations: 0.9182 MB / 492.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.136, allocations: 33.7 kB / 492.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.1362, allocations: 276.2 kB / 493.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.1362, allocations: 67.03 kB / 493.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.1363, allocations: 17.72 kB / 493.1 MB, free: 9.797 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.1364, allocations: 321.9 kB / 493.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.1366, allocations: 103.9 kB / 493.6 MB, free: 9.375 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.1369, allocations: 125.6 kB / 493.7 MB, free: 9.246 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/0.1375, allocations: 249.7 kB / 493.9 MB, free: 8.996 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1375, allocations: 0 / 493.9 MB, free: 8.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006803/0.1382, allocations: 332.7 kB / 494.3 MB, free: 8.664 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1382, allocations: 8 kB / 494.3 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1382, allocations: 0 / 494.3 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1382, allocations: 4 kB / 494.3 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.1385, allocations: 63.89 kB / 494.3 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1385, allocations: 0 / 494.3 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.1388, allocations: 35.97 kB / 494.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.1388, allocations: 8 kB / 494.4 MB, free: 8.547 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0002106/0.139, allocations: 217.7 kB / 494.6 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.1391, allocations: 63.14 kB / 494.6 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008172/0.1399, allocations: 383.3 kB / 495 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1399, allocations: 4.219 kB / 495 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.14, allocations: 0 / 495 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.14, allocations: 3.938 kB / 495 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.1413, allocations: 0.9427 MB / 496 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1414, allocations: 4 kB / 496 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.1416, allocations: 59.95 kB / 496 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.1416, allocations: 4 kB / 496 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.1417, allocations: 4 kB / 496 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.802e-06/0.1417, allocations: 7.938 kB / 496 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1417, allocations: 3.938 kB / 496 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000756/0.1424, allocations: 0.5001 MB / 496.5 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.1426, allocations: 160.3 kB / 496.7 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.1427, allocations: 4 kB / 496.7 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.1429, allocations: 39.91 kB / 496.7 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.143, allocations: 23.95 kB / 496.8 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.143, allocations: 4 kB / 496.8 MB, free: 6.027 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007043/0.1437, allocations: 0.6786 MB / 497.5 MB, free: 5.352 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.1438, allocations: 0 / 497.5 MB, free: 5.352 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003588/0.1441, allocations: 59.94 kB / 497.5 MB, free: 5.293 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.001815/0.1459, allocations: 1.338 MB / 498.9 MB, free: 4.062 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006231/0.1466, allocations: 267.7 kB / 499.1 MB, free: 3.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1466, allocations: 0 / 499.1 MB, free: 3.801 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.1469, allocations: 143.9 kB / 499.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.1476, allocations: 69.45 kB / 499.3 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006937/0.1545, allocations: 5.683 MB / 0.4932 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.1549, allocations: 0.8734 MB / 0.494 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002104/0.1552, allocations: 87.2 kB / 0.4941 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.1554, allocations: 191.4 kB / 0.4943 GB, free: 12.63 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1554, allocations: 0 / 0.4943 GB, free: 12.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.1791, allocations: 9.556 MB / 0.5036 GB, free: 3.191 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/0.1794, allocations: 230.5 kB / 0.5038 GB, free: 2.941 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.105, allocations: 4.062 kB / 0.5038 GB, free: 2.938 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches