Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001131/0.001131, 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.001449/0.00145, 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.352/1.352, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2041/0.2041, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 74.19 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1172, allocations: 62.44 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003797/0.1211, allocations: 1.677 MB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009986/0.1221, allocations: 0.5455 MB / 482.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.581e-05/0.1222, allocations: 4 kB / 482.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000706/0.1229, allocations: 459.1 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004904/0.1235, allocations: 287.3 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.1239, allocations: 131.2 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.1241, allocations: 171.7 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1242, allocations: 15.98 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.1244, allocations: 119.6 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.1246, allocations: 215.6 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.1246, allocations: 4 kB / 483.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1247, allocations: 39.97 kB / 483.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.975e-05/0.1248, allocations: 79.69 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.173e-05/0.1249, allocations: 107 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.1252, allocations: 263.2 kB / 484.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1253, allocations: 3.938 kB / 484.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1253, allocations: 0 / 484.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1253, allocations: 4 kB / 484.2 MB, free: 1.109 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.0007356/0.126, allocations: 0.653 MB / 484.9 MB, free: 416 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1261, allocations: 12.03 kB / 484.9 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.1261, allocations: 30.75 kB / 484.9 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.402e-05/0.1262, allocations: 44.38 kB / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.1265, allocations: 300.3 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1265, allocations: 4.375 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.1265, allocations: 384 / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.1267, allocations: 73.53 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1268, allocations: 0 / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1268, allocations: 0 / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1268, allocations: 4 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1269, allocations: 31.97 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.1274, allocations: 396.6 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.1275, allocations: 50.5 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/0.1276, allocations: 24.92 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1276, allocations: 4 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.1277, allocations: 30.56 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1277, allocations: 0 / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.000845/0.1285, allocations: 287.9 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.1286, allocations: 55.41 kB / 486.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007603/0.1293, allocations: 0.8737 MB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1293, allocations: 25.7 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.1295, allocations: 223.9 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.1296, allocations: 23.7 kB / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.1296, allocations: 17.72 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1298, allocations: 358.8 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.1299, allocations: 35.97 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.13, allocations: 31.97 kB / 487.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.1302, allocations: 80.88 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1302, allocations: 0 / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002935/0.1305, allocations: 145 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1305, allocations: 6.5 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1306, allocations: 3.938 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1306, allocations: 7.938 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1307, allocations: 19.98 kB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.1307, allocations: 0 / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.167e-05/0.1308, allocations: 15.92 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1308, allocations: 4 kB / 488 MB, free: 13.04 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 (7): * Single equations (assignments): 7 * 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.0001786/0.131, allocations: 209.8 kB / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.1311, allocations: 47.44 kB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004022/0.1315, allocations: 173.8 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1315, allocations: 0 / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1315, allocations: 0 / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1315, allocations: 3.938 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006864/0.1322, allocations: 0.5061 MB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1322, allocations: 0 / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.312e-05/0.1323, allocations: 19.98 kB / 489 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1324, allocations: 0 / 489 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1324, allocations: 3.938 kB / 489 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1324, allocations: 0 / 489 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1324, allocations: 3.984 kB / 489 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.1328, allocations: 247 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/0.1329, allocations: 112.5 kB / 489.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.1329, allocations: 11.92 kB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.133, allocations: 4 kB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.1331, allocations: 11.92 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1331, allocations: 0 / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006343/0.1337, allocations: 0.6589 MB / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1337, allocations: 4 kB / 490 MB, free: 10.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.134, allocations: 28 kB / 490.1 MB, free: 10.91 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 (7): * Single equations (assignments): 7 * 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.00156/0.1356, allocations: 1.075 MB / 491.1 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002992/0.1359, allocations: 79.86 kB / 491.2 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1359, allocations: 4 kB / 491.2 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.136, allocations: 39.97 kB / 491.3 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.1364, allocations: 29.67 kB / 491.3 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.1403, allocations: 3.339 MB / 494.6 MB, free: 6.363 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.1406, allocations: 0.826 MB / 495.4 MB, free: 5.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.394e-05/0.1407, allocations: 16.95 kB / 495.5 MB, free: 5.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.1408, allocations: 107.4 kB / 495.6 MB, free: 5.391 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1409, allocations: 0 / 495.6 MB, free: 5.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.1657, allocations: 6.034 MB / 0.4898 GB, free: 15.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.873/8.039, allocations: 1.078 kB / 0.4898 GB, free: 15.4 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches