Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.00119/0.001198, 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.00114/0.00114, 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.484/1.484, 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.2051/0.2051, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 81.8 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.104, allocations: 62.45 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.004064/0.1081, allocations: 1.647 MB / 481.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1094, allocations: 0.5571 MB / 482.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1095, allocations: 0 / 482.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006528/0.1102, allocations: 455.1 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000568/0.1108, allocations: 291.3 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.1112, allocations: 135.2 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.1115, allocations: 163.7 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1117, allocations: 23.92 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.1119, allocations: 103.8 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.1121, allocations: 211.6 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.1122, allocations: 4 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1123, allocations: 32 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.1124, allocations: 87.69 kB / 483.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1125, allocations: 110.9 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.1129, allocations: 251.2 kB / 484.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.1129, allocations: 8 kB / 484.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1129, allocations: 0 / 484.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.1129, allocations: 0 / 484.2 MB, free: 1.145 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.001061/0.114, allocations: 0.6375 MB / 484.8 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.1141, allocations: 12.03 kB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.1141, allocations: 34.73 kB / 484.9 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.935e-05/0.1142, allocations: 48.38 kB / 484.9 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.1146, allocations: 292.2 kB / 485.2 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.1146, allocations: 8.375 kB / 485.2 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.1146, allocations: 384 / 485.2 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.1148, allocations: 57.64 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1149, allocations: 0 / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1149, allocations: 8 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1149, allocations: 0 / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.115, allocations: 31.89 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.1156, allocations: 396.6 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.1158, allocations: 58.34 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.1159, allocations: 8.859 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1159, allocations: 0 / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1159, allocations: 42.64 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1159, allocations: 0 / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000629/0.1166, allocations: 224 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.1166, allocations: 51.41 kB / 486.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007804/0.1174, allocations: 0.8737 MB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1174, allocations: 29.7 kB / 487 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.1176, allocations: 228.1 kB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.1176, allocations: 19.66 kB / 487.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.1177, allocations: 17.72 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1178, allocations: 362.8 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.987e-05/0.1179, allocations: 15.98 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.154e-05/0.118, allocations: 19.98 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1181, allocations: 56.77 kB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1181, allocations: 0 / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002079/0.1183, allocations: 105.2 kB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1184, allocations: 8 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1184, allocations: 256 / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1184, allocations: 0 / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.947e-05/0.1185, allocations: 15.98 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.1185, allocations: 4 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.1186, allocations: 15.84 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1186, allocations: 4 kB / 487.8 MB, free: 13.27 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.0001793/0.1188, allocations: 213.7 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.1188, allocations: 39.53 kB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.1191, allocations: 133.2 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1191, allocations: 0 / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1191, allocations: 0 / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1192, allocations: 11.94 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005207/0.1197, allocations: 470.4 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1197, allocations: 0 / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.428e-05/0.1198, allocations: 8 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.1198, allocations: 4 kB / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1198, allocations: 11.86 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1198, allocations: 0 / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1198, allocations: 4 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1201, allocations: 207.1 kB / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.375e-05/0.1202, allocations: 112.5 kB / 489 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.1202, allocations: 15.88 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.1203, allocations: 4 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.1203, allocations: 7.922 kB / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1203, allocations: 8 kB / 489 MB, free: 11.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005507/0.1209, allocations: 0.6589 MB / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1209, allocations: 0 / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1212, allocations: 24 kB / 489.7 MB, free: 11.25 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.001259/0.1224, allocations: 1.032 MB / 490.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.1226, allocations: 55.89 kB / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1227, allocations: 0 / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.483e-05/0.1227, allocations: 23.98 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.1231, allocations: 22.3 kB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.1266, allocations: 3.272 MB / 494.1 MB, free: 6.863 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.127, allocations: 0.826 MB / 494.9 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.212e-05/0.127, allocations: 15.97 kB / 495 MB, free: 5.996 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.1271, allocations: 103.5 kB / 495.1 MB, free: 5.895 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1272, allocations: 3.938 kB / 495.1 MB, free: 5.891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.1485, allocations: 5.907 MB / 0.4892 GB, free: 36 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.27, allocations: 5.016 kB / 0.4892 GB, free: 32 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches