Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009799/0.0009801, allocations: 92.42 kB / 17.35 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001119/0.001119, allocations: 203.2 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.7 MB / 246.8 MB, free: 9.691 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2208/0.2208, allocations: 46.19 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002576/0.0002576, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1176, allocations: 63.56 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002517/0.1201, allocations: 1.638 MB / 484.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.1221, allocations: 1.056 MB / 485.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.1222, allocations: 4 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004871/0.1227, allocations: 255.4 kB / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003997/0.1231, allocations: 223.4 kB / 486.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.1243, allocations: 0.6058 MB / 487 MB, free: 280 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.1246, allocations: 303.2 kB / 487.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.1248, allocations: 56.61 kB / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.125, allocations: 115.5 kB / 487.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.1252, allocations: 187.2 kB / 487.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.1252, allocations: 4 kB / 487.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1253, allocations: 47.97 kB / 487.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1255, allocations: 83.67 kB / 487.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.1256, allocations: 136.7 kB / 487.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.1259, allocations: 299 kB / 488.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1259, allocations: 4 kB / 488.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1259, allocations: 3.938 kB / 488.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.1259, allocations: 0 / 488.2 MB, free: 15.05 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007838/0.1267, allocations: 0.6107 MB / 488.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1268, allocations: 12.88 kB / 488.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.307e-05/0.1268, allocations: 38.73 kB / 488.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.1269, allocations: 40.47 kB / 488.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.1273, allocations: 338 kB / 489.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1273, allocations: 8.375 kB / 489.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.1273, allocations: 8.375 kB / 489.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.1275, allocations: 101.6 kB / 489.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.1275, allocations: 0 / 489.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1276, allocations: 4 kB / 489.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1276, allocations: 0 / 489.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.1277, allocations: 75.94 kB / 489.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005859/0.1283, allocations: 480.3 kB / 489.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.1285, allocations: 78.53 kB / 489.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.228e-05/0.1286, allocations: 36.91 kB / 490 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1286, allocations: 11.98 kB / 490 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1286, allocations: 30.56 kB / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1286, allocations: 0 / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003471/0.129, allocations: 161.2 kB / 490.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.129, allocations: 55.34 kB / 490.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006374/0.1297, allocations: 0.6035 MB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1297, allocations: 25.7 kB / 490.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.1299, allocations: 212.1 kB / 491.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.1299, allocations: 19.7 kB / 491.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.1299, allocations: 13.72 kB / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1301, allocations: 350.8 kB / 491.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.16e-05/0.1302, allocations: 31.92 kB / 491.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.976e-05/0.1303, allocations: 31.97 kB / 491.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.1304, allocations: 68.83 kB / 491.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1304, allocations: 0 / 491.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002129/0.1306, allocations: 137.1 kB / 491.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1307, allocations: 4 kB / 491.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1307, allocations: 0 / 491.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1307, allocations: 7.938 kB / 491.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.063e-05/0.1308, allocations: 15.98 kB / 491.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1308, allocations: 3.938 kB / 491.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.884e-05/0.1309, allocations: 15.84 kB / 491.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1309, allocations: 0 / 491.7 MB, free: 11.23 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 (6): * Single equations (assignments): 6 * 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.0001552/0.131, allocations: 173.8 kB / 491.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.1311, allocations: 35.53 kB / 491.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.1314, allocations: 165.6 kB / 492.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.1314, allocations: 7.938 kB / 492.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1314, allocations: 4.062 kB / 492.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1314, allocations: 0 / 492.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.1317, allocations: 301.4 kB / 492.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.1318, allocations: 0 / 492.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.1318, allocations: 23.92 kB / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1318, allocations: 0 / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1319, allocations: 8 kB / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1319, allocations: 3.938 kB / 492.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1319, allocations: 3.984 kB / 492.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.1321, allocations: 227 kB / 492.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/0.1322, allocations: 128.5 kB / 492.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.1323, allocations: 0 / 492.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/0.1324, allocations: 15.92 kB / 492.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.1324, allocations: 0 / 492.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1324, allocations: 4 kB / 492.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004391/0.1328, allocations: 450.8 kB / 493.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1328, allocations: 0 / 493.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1331, allocations: 35.94 kB / 493.3 MB, free: 9.578 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 (6): * Single equations (assignments): 6 * 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.001852/0.135, allocations: 1.255 MB / 494.6 MB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.1352, allocations: 67.95 kB / 494.6 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1352, allocations: 0 / 494.6 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.939e-05/0.1353, allocations: 43.92 kB / 494.7 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005158/0.1358, allocations: 69.3 kB / 494.7 MB, free: 8.359 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.1392, allocations: 3.083 MB / 497.8 MB, free: 5.191 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.1396, allocations: 0.8103 MB / 498.6 MB, free: 4.355 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.1397, allocations: 65.86 kB / 498.7 MB, free: 4.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.1399, allocations: 111.4 kB / 498.8 MB, free: 4.184 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1399, allocations: 3.938 kB / 498.8 MB, free: 4.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.1572, allocations: 6.404 MB / 0.4934 GB, free: 13.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.1574, allocations: 247 kB / 0.4936 GB, free: 13.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.033, allocations: 0 / 0.4936 GB, free: 13.62 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches