Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001229/0.001229, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 78.44 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.123, allocations: 62.43 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003875/0.127, allocations: 1.63 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.1288, allocations: 1.167 MB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.1289, allocations: 0 / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.1292, allocations: 27.8 kB / 482.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.1296, allocations: 83.61 kB / 483 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.13, allocations: 123 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1301, allocations: 79.81 kB / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1303, allocations: 16 kB / 483.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.842e-05/0.1303, allocations: 27.92 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1305, allocations: 43.77 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.1305, allocations: 8 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.1307, allocations: 91.94 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.1308, allocations: 19.92 kB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.1308, allocations: 35.73 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.1311, allocations: 143.9 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.1311, allocations: 8 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1311, allocations: 0 / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1311, allocations: 0 / 483.6 MB, free: 1.66 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.0005343/0.1317, allocations: 415.1 kB / 484 MB, free: 1.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1317, allocations: 12.03 kB / 484 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.49e-05/0.1318, allocations: 34.75 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.1318, allocations: 8.844 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.1321, allocations: 202.6 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1321, allocations: 4.375 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.1321, allocations: 4.375 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1323, allocations: 83.31 kB / 484.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1323, allocations: 0 / 484.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1323, allocations: 3.984 kB / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1324, allocations: 7.938 kB / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.1325, allocations: 39.91 kB / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.1329, allocations: 312.7 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.1331, allocations: 54.59 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.794e-05/0.1331, allocations: 28.97 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1332, allocations: 0 / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1332, allocations: 34.56 kB / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.011e-06/0.1332, allocations: 0 / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006939/0.1339, allocations: 197.1 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.134, allocations: 81.11 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.1341, allocations: 153.8 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1342, allocations: 25.7 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.1342, allocations: 100.1 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.1343, allocations: 27.55 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.1343, allocations: 25.72 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1344, allocations: 318.8 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.382e-05/0.1345, allocations: 31.97 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.454e-05/0.1346, allocations: 41.7 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.1348, allocations: 76.75 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1348, allocations: 384 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002421/0.1351, allocations: 109.5 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1351, allocations: 4 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1351, allocations: 4.344 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1351, allocations: 4 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1352, allocations: 23.92 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1353, allocations: 3.938 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/0.1353, allocations: 7.984 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1353, allocations: 3.984 kB / 486 MB, free: 14.98 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 9.272e-05/0.1354, allocations: 125.8 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.1355, allocations: 7.906 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.1358, allocations: 126.3 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.1358, allocations: 0 / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1358, allocations: 7.938 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1358, allocations: 0 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.1363, allocations: 398.4 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1364, allocations: 4 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.501e-05/0.1364, allocations: 27.92 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1365, allocations: 0 / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1365, allocations: 0 / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1365, allocations: 0 / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1365, allocations: 0 / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1368, allocations: 215.2 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.1368, allocations: 89.05 kB / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.1368, allocations: 0 / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.1369, allocations: 7.984 kB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.137, allocations: 8 kB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.137, allocations: 0 / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.534e-05/0.1371, allocations: 125.5 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1371, allocations: 0 / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.1374, allocations: 43.98 kB / 487.2 MB, free: 13.71 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 (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.00153/0.1389, allocations: 1.12 MB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.1392, allocations: 75.94 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1392, allocations: 0 / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.1393, allocations: 39.91 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1397, allocations: 26.98 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.1414, allocations: 1.539 MB / 490 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.1417, allocations: 0.7041 MB / 490.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.168e-05/0.1418, allocations: 24.72 kB / 490.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.852e-05/0.1419, allocations: 31.42 kB / 490.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1419, allocations: 0 / 490.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.1681, allocations: 3.363 MB / 494.1 MB, free: 6.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/7.901, allocations: 4.312 kB / 494.1 MB, free: 6.883 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches