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.001561/0.001561, 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.002025/0.002025, 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.413/1.413, 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.2165/0.2165, allocations: 46.1 MB / 344.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 73.31 kB / 417.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 62.45 MB / 480.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002817/0.1107, allocations: 1.655 MB / 481.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009419/0.1117, allocations: 0.5728 MB / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.1118, allocations: 0 / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004811/0.1123, allocations: 459.1 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004146/0.1127, allocations: 295.3 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.1132, allocations: 170.8 kB / 483.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.1134, allocations: 175.6 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.1135, allocations: 19.98 kB / 483.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1136, allocations: 107.8 kB / 483.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.1138, allocations: 215.6 kB / 483.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1138, allocations: 7.938 kB / 483.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.533e-05/0.1139, allocations: 31.97 kB / 483.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.201e-05/0.114, allocations: 83.69 kB / 483.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.664e-05/0.1141, allocations: 103 kB / 484 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.1144, allocations: 267.2 kB / 484.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1144, allocations: 4 kB / 484.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1144, allocations: 0 / 484.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1144, allocations: 0 / 484.3 MB, free: 1.078 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.0006243/0.115, allocations: 0.6452 MB / 484.9 MB, free: 392 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1151, allocations: 8.031 kB / 484.9 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.1151, allocations: 38.73 kB / 484.9 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.1152, allocations: 44.38 kB / 485 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.1155, allocations: 300.1 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.1155, allocations: 4.375 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.1155, allocations: 4.375 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1156, allocations: 65.59 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.1157, allocations: 0 / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.1157, allocations: 0 / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1157, allocations: 0 / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.1158, allocations: 35.91 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.1162, allocations: 404.6 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.1164, allocations: 46.56 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.149e-05/0.1165, allocations: 20.94 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.1165, allocations: 3.938 kB / 485.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.1165, allocations: 38.5 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.1166, allocations: 0 / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005891/0.1171, allocations: 239.9 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.1172, allocations: 51.41 kB / 486.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00075/0.1179, allocations: 0.8776 MB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.118, allocations: 29.7 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.1181, allocations: 224.1 kB / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.1181, allocations: 11.75 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.1182, allocations: 29.7 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1183, allocations: 358.8 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.1184, allocations: 19.98 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-05/0.1185, allocations: 23.97 kB / 487.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.1186, allocations: 56.77 kB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1186, allocations: 0 / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002081/0.1188, allocations: 129.2 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1189, allocations: 8 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1189, allocations: 4.062 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1189, allocations: 0 / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.848e-05/0.119, allocations: 8 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.119, allocations: 7.984 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.618e-05/0.119, allocations: 3.938 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.119, allocations: 4 kB / 488 MB, free: 13.14 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.000189/0.1192, allocations: 217.8 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.1193, allocations: 43.44 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.1196, allocations: 145.1 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1196, allocations: 0 / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1196, allocations: 4 kB / 488.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1196, allocations: 3.938 kB / 488.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.1201, allocations: 466.5 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1201, allocations: 4 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.1202, allocations: 11.98 kB / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1202, allocations: 0 / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.1202, allocations: 11.88 kB / 488.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1202, allocations: 0 / 488.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1202, allocations: 4 kB / 488.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.1205, allocations: 219 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/0.1205, allocations: 120.5 kB / 489.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.1206, allocations: 3.938 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.1207, allocations: 4 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.1207, allocations: 4.172 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.1207, allocations: 8 kB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005386/0.1212, allocations: 0.6589 MB / 489.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1213, allocations: 3.938 kB / 489.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.1215, allocations: 28 kB / 489.9 MB, free: 11.1 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.001213/0.1227, allocations: 1.053 MB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.1229, allocations: 55.97 kB / 491 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1229, allocations: 0 / 491 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.86e-05/0.123, allocations: 31.91 kB / 491 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.1234, allocations: 32.95 kB / 491.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.1266, allocations: 3.32 MB / 494.4 MB, free: 6.633 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.127, allocations: 0.826 MB / 495.2 MB, free: 5.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.826e-05/0.127, allocations: 12.66 kB / 495.2 MB, free: 5.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.1271, allocations: 115.3 kB / 495.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1272, allocations: 0 / 495.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.1564, allocations: 5.968 MB / 0.4895 GB, free: 15.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.277, allocations: 4.031 kB / 0.4895 GB, free: 15.73 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_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_CombiTable2Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv","/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