Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.001741/0.001741, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002104/0.002104, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2451/0.2451, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 76.31 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1262, allocations: 62.44 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003322/0.1296, allocations: 1.655 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1306, allocations: 0.5689 MB / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.414e-05/0.1307, allocations: 4 kB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005478/0.1313, allocations: 459.1 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004607/0.1318, allocations: 295.3 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.1323, allocations: 183.2 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.1325, allocations: 171.7 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1327, allocations: 15.98 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.1328, allocations: 115.7 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003417/0.1332, allocations: 211.6 kB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.1332, allocations: 7.938 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.67e-05/0.1333, allocations: 27.98 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.1334, allocations: 83.69 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.482e-05/0.1335, allocations: 103 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.1339, allocations: 263.2 kB / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1339, allocations: 0 / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1339, allocations: 4 kB / 484.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.1339, allocations: 0 / 484.3 MB, free: 1.051 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.0007397/0.1346, allocations: 0.6491 MB / 484.9 MB, free: 360 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.1347, allocations: 12.03 kB / 484.9 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.1348, allocations: 38.73 kB / 485 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.123e-05/0.1348, allocations: 44.38 kB / 485 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.1351, allocations: 296.2 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.1352, allocations: 384 / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.1352, allocations: 4.375 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.1354, allocations: 61.61 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1354, allocations: 7.922 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1354, allocations: 0 / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1354, allocations: 4 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1355, allocations: 35.95 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.1361, allocations: 400.5 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.1363, allocations: 54.5 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.1364, allocations: 20.94 kB / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1364, allocations: 0 / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.1364, allocations: 30.56 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1364, allocations: 0 / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006351/0.1371, allocations: 239.9 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.1371, allocations: 55.41 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007709/0.1379, allocations: 0.8776 MB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1379, allocations: 29.7 kB / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.1381, allocations: 224.1 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.1381, allocations: 11.75 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.1382, allocations: 21.7 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1383, allocations: 366.8 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.596e-05/0.1384, allocations: 23.97 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.631e-05/0.1385, allocations: 19.98 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.1386, allocations: 56.95 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1386, allocations: 4 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000212/0.1388, allocations: 129 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1389, allocations: 6.5 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1389, allocations: 0 / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1389, allocations: 4 kB / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.139, allocations: 11.98 kB / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.139, allocations: 0 / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.339e-05/0.139, allocations: 7.938 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1391, allocations: 0 / 488 MB, free: 13.11 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.0001863/0.1393, allocations: 217.8 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.1393, allocations: 43.44 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.1396, allocations: 149.1 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1396, allocations: 0 / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1396, allocations: 0 / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1396, allocations: 3.938 kB / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005368/0.1402, allocations: 474.5 kB / 488.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1402, allocations: 3.938 kB / 488.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-05/0.1403, allocations: 19.98 kB / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1403, allocations: 0 / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1403, allocations: 3.938 kB / 488.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1403, allocations: 0 / 488.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1403, allocations: 0 / 488.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1406, allocations: 223.2 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/0.1406, allocations: 120.5 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.1407, allocations: 7.938 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.507e-05/0.1408, allocations: 7.938 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.1408, allocations: 3.984 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.1408, allocations: 0 / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006407/0.1415, allocations: 0.6628 MB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.1415, allocations: 0 / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.1418, allocations: 27.94 kB / 489.9 MB, free: 11.07 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.001449/0.1432, allocations: 1.046 MB / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.1435, allocations: 63.89 kB / 491 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1435, allocations: 4 kB / 491 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.388e-05/0.1436, allocations: 23.98 kB / 491 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.1441, allocations: 26.3 kB / 491.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.1478, allocations: 3.312 MB / 494.4 MB, free: 6.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.1483, allocations: 0.8299 MB / 495.2 MB, free: 5.754 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.516e-05/0.1484, allocations: 16.66 kB / 495.2 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.1486, allocations: 115.4 kB / 495.3 MB, free: 5.625 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1486, allocations: 0 / 495.3 MB, free: 5.625 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.1718, allocations: 5.964 MB / 0.4895 GB, free: 15.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.3/7.472, allocations: 13.02 kB / 0.4896 GB, free: 15.7 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches