Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001181/0.001181, 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.403/1.403, 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.2073/0.2073, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 70.61 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1082, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003559/0.1118, allocations: 1.623 MB / 481.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009623/0.1128, allocations: 0.5455 MB / 482.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.029e-05/0.1128, allocations: 0 / 482.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.1131, allocations: 95.75 kB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.1134, allocations: 111.6 kB / 482.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.1138, allocations: 115 kB / 482.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.114, allocations: 79.86 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1141, allocations: 20 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.853e-05/0.1142, allocations: 43.77 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.1143, allocations: 55.81 kB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.1144, allocations: 4 kB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1145, allocations: 43.98 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.1146, allocations: 19.92 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.788e-05/0.1146, allocations: 39.69 kB / 482.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.1148, allocations: 104 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1149, allocations: 4 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1149, allocations: 4 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1149, allocations: 0 / 483 MB, free: 2.258 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.0004828/0.1154, allocations: 426.8 kB / 483.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1154, allocations: 15.97 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.1154, allocations: 30.75 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.1155, allocations: 12.75 kB / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.1157, allocations: 196.1 kB / 483.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.1157, allocations: 8.359 kB / 483.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.1157, allocations: 8.375 kB / 483.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.1159, allocations: 57.61 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1159, allocations: 0 / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1159, allocations: 4 kB / 483.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.1159, allocations: 0 / 483.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.116, allocations: 27.92 kB / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.1164, allocations: 308.7 kB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1165, allocations: 46.66 kB / 484.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.1166, allocations: 24.78 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.1166, allocations: 0 / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.1166, allocations: 30.56 kB / 484.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1166, allocations: 3.938 kB / 484.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000909/0.1175, allocations: 248.9 kB / 484.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.1176, allocations: 51.41 kB / 484.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1178, allocations: 231.1 kB / 484.7 MB, free: 372 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1178, allocations: 29.7 kB / 484.7 MB, free: 336 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.1179, allocations: 112.1 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.1179, allocations: 27.56 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.118, allocations: 25.7 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1181, allocations: 322.8 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.116e-05/0.1182, allocations: 32.05 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.542e-05/0.1183, allocations: 27.97 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.1184, allocations: 84.98 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1185, allocations: 0 / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002267/0.1187, allocations: 109.6 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1187, allocations: 10.48 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1187, allocations: 3.938 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1187, allocations: 0 / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.885e-05/0.1188, allocations: 16 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1189, allocations: 11.92 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.1189, allocations: 8 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1189, allocations: 0 / 485.5 MB, free: 15.53 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.219e-05/0.119, allocations: 133.8 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.1191, allocations: 15.81 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.1194, allocations: 131 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1194, allocations: 0 / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1194, allocations: 3.938 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1194, allocations: 4.422 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.1199, allocations: 423.2 kB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1199, allocations: 0 / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.399e-05/0.12, allocations: 23.86 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.12, allocations: 4 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.12, allocations: 4 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.12, allocations: 4.031 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.12, allocations: 0 / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.1203, allocations: 224.2 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.1204, allocations: 88.86 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1204, allocations: 4 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.1205, allocations: 8 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.1205, allocations: 3.984 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.1205, allocations: 8 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.1207, allocations: 180.3 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1207, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1209, allocations: 23.94 kB / 486.8 MB, free: 14.16 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.001404/0.1224, allocations: 1.082 MB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.1226, allocations: 79.89 kB / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1226, allocations: 0 / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.55e-05/0.1227, allocations: 43.91 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1231, allocations: 26.88 kB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.1249, allocations: 1.747 MB / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.1251, allocations: 0.7158 MB / 490.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.952e-05/0.1252, allocations: 24.95 kB / 490.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.1253, allocations: 35.42 kB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1253, allocations: 0 / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.144, allocations: 3.157 MB / 493.7 MB, free: 7.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/7.822, allocations: 12.23 kB / 493.7 MB, free: 7.32 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_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_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches