Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, 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.001502/0.001502, 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.509/1.509, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 76.19 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1165, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003276/0.1198, allocations: 1.676 MB / 481.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1208, allocations: 0.561 MB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.605e-05/0.1209, allocations: 0 / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005172/0.1215, allocations: 447.2 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004619/0.122, allocations: 295.3 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.1223, allocations: 139.4 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.1226, allocations: 167.7 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1227, allocations: 15.94 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.1228, allocations: 119.7 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.1231, allocations: 211.6 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.1231, allocations: 4 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1233, allocations: 47.98 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1234, allocations: 87.67 kB / 483.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.433e-05/0.1235, allocations: 107 kB / 484 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.1238, allocations: 279.1 kB / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1238, allocations: 0 / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1238, allocations: 0 / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1238, allocations: 0 / 484.2 MB, free: 1.07 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007707/0.1246, allocations: 0.6531 MB / 484.9 MB, free: 376 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1246, allocations: 12.03 kB / 484.9 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.1247, allocations: 38.73 kB / 484.9 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.1247, allocations: 44.38 kB / 485 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.125, allocations: 300.1 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.125, allocations: 384 / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.1251, allocations: 8.375 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1252, allocations: 65.48 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1252, allocations: 4 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1253, allocations: 0 / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1253, allocations: 4 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1254, allocations: 35.91 kB / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.1258, allocations: 400.6 kB / 485.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.809e-05/0.1259, allocations: 38.56 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.126, allocations: 24.94 kB / 485.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.126, allocations: 0 / 485.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.1261, allocations: 42.59 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1261, allocations: 0 / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009247/0.127, allocations: 311.7 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.127, allocations: 55.34 kB / 486.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007452/0.1278, allocations: 0.8738 MB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1278, allocations: 25.7 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.128, allocations: 228 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.128, allocations: 23.66 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.1281, allocations: 25.7 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1282, allocations: 362.8 kB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/0.1283, allocations: 27.97 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.289e-05/0.1284, allocations: 23.98 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.1285, allocations: 60.83 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1285, allocations: 0 / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002395/0.1288, allocations: 141.3 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1288, allocations: 10.5 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1288, allocations: 0 / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1288, allocations: 432 / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.129, allocations: 23.92 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.129, allocations: 4.062 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/0.1291, allocations: 7.984 kB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1291, allocations: 0 / 488.1 MB, free: 13.01 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 (8): * Single equations (assignments): 8 * 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.0002075/0.1293, allocations: 209.8 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.1294, allocations: 47.42 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.1297, allocations: 169.5 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.1297, allocations: 3.938 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1297, allocations: 0 / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1298, allocations: 4 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006868/0.1304, allocations: 0.5069 MB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.1305, allocations: 0 / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.219e-05/0.1305, allocations: 23.92 kB / 489 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1306, allocations: 4 kB / 489 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.1306, allocations: 3.938 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1306, allocations: 0 / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.1306, allocations: 7.938 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.1309, allocations: 231.9 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-05/0.131, allocations: 120.5 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.131, allocations: 4 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.03e-05/0.1311, allocations: 4 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.1312, allocations: 7.984 kB / 489.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.1312, allocations: 4 kB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006244/0.1318, allocations: 0.6589 MB / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1318, allocations: 0 / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.1321, allocations: 31.98 kB / 490.1 MB, free: 10.87 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 (8): * Single equations (assignments): 8 * 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.001565/0.1337, allocations: 1.117 MB / 491.2 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.1339, allocations: 79.81 kB / 491.3 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.134, allocations: 4 kB / 491.3 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.1341, allocations: 31.98 kB / 491.3 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.1345, allocations: 29.67 kB / 491.4 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.1383, allocations: 3.352 MB / 494.7 MB, free: 6.289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.1387, allocations: 0.826 MB / 495.5 MB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.426e-05/0.1388, allocations: 16.73 kB / 495.5 MB, free: 5.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.1389, allocations: 111.4 kB / 495.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1389, allocations: 0 / 495.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.1629, allocations: 6.233 MB / 0.4901 GB, free: 15.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.768/7.931, allocations: 1.078 kB / 0.4901 GB, free: 15.14 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_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_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches