Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 103.6 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.001621/0.001621, 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.435/1.435, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.21/0.21, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001684, allocations: 77.69 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1075, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003332/0.1109, allocations: 1.603 MB / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.112, allocations: 0.5221 MB / 482.2 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.112, allocations: 0 / 482.2 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.1123, allocations: 31.78 kB / 482.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.1126, allocations: 79.62 kB / 482.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.1129, allocations: 95.69 kB / 482.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.113, allocations: 59.84 kB / 482.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1131, allocations: 19.97 kB / 482.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.48e-05/0.1132, allocations: 19.88 kB / 482.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.1132, allocations: 23.86 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1133, allocations: 0 / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.754e-05/0.1133, allocations: 31.98 kB / 482.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.1134, allocations: 11.98 kB / 482.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.1134, allocations: 31.8 kB / 482.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.1136, allocations: 80.02 kB / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1136, allocations: 0 / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.1136, allocations: 0 / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1136, allocations: 3.938 kB / 482.7 MB, free: 2.543 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000415/0.1141, allocations: 387.1 kB / 483.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1141, allocations: 8.031 kB / 483.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.1141, allocations: 34.75 kB / 483.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.1142, allocations: 8.844 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.1144, allocations: 195.1 kB / 483.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.1144, allocations: 8.375 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.1144, allocations: 4.375 kB / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.1145, allocations: 53.61 kB / 483.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1145, allocations: 0 / 483.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1146, allocations: 3.938 kB / 483.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1146, allocations: 0 / 483.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.077e-05/0.1147, allocations: 23.98 kB / 483.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.115, allocations: 280.8 kB / 483.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.1152, allocations: 42.56 kB / 483.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.1152, allocations: 16.88 kB / 483.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.1153, allocations: 3.938 kB / 483.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1153, allocations: 38.56 kB / 483.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1153, allocations: 4 kB / 483.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000537/0.1158, allocations: 141.2 kB / 484 MB, free: 1.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.1159, allocations: 51.41 kB / 484 MB, free: 1.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.116, allocations: 165.1 kB / 484.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.116, allocations: 29.7 kB / 484.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.1161, allocations: 96.12 kB / 484.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.1161, allocations: 19.75 kB / 484.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.1162, allocations: 21.7 kB / 484.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1163, allocations: 322.8 kB / 484.6 MB, free: 416 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.102e-05/0.1163, allocations: 15.98 kB / 484.7 MB, free: 400 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.247e-05/0.1164, allocations: 19.98 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.1166, allocations: 44.83 kB / 484.7 MB, free: 332 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1166, allocations: 4 kB / 484.7 MB, free: 328 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002317/0.1168, allocations: 85.5 kB / 484.8 MB, free: 236 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1168, allocations: 6.5 kB / 484.8 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1169, allocations: 0 / 484.8 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1169, allocations: 0 / 484.8 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.876e-05/0.117, allocations: 16 kB / 484.8 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.117, allocations: 7.922 kB / 484.8 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.117, allocations: 4 kB / 484.8 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.117, allocations: 4.25 kB / 484.8 MB, free: 200 kB / 350.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 7.208e-05/0.1171, allocations: 113.8 kB / 485 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.1171, allocations: 7.906 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.1174, allocations: 97.89 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1174, allocations: 4.281 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1174, allocations: 3.938 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1174, allocations: 0 / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.1178, allocations: 354.5 kB / 485.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1178, allocations: 0 / 485.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.1179, allocations: 15.94 kB / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-06/0.1179, allocations: 3.938 kB / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1179, allocations: 0 / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1179, allocations: 0 / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1179, allocations: 7.922 kB / 485.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.1182, allocations: 183.3 kB / 485.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.1182, allocations: 81.11 kB / 485.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.1183, allocations: 3.938 kB / 485.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.1183, allocations: 7.984 kB / 485.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.1184, allocations: 0 / 485.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1184, allocations: 4 kB / 485.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.713e-05/0.1185, allocations: 126.2 kB / 485.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1185, allocations: 4 kB / 485.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1187, allocations: 23.89 kB / 485.9 MB, free: 15.07 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.001261/0.12, allocations: 0.9995 MB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.1202, allocations: 51.97 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.1202, allocations: 0 / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.1203, allocations: 31.91 kB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1207, allocations: 14.19 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.1222, allocations: 1.46 MB / 488.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.1225, allocations: 0.6924 MB / 489.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.154e-05/0.1225, allocations: 16.23 kB / 489.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.1226, allocations: 27.44 kB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1226, allocations: 0 / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.1412, allocations: 2.503 MB / 491.7 MB, free: 9.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/7.95, allocations: 11.58 kB / 491.7 MB, free: 9.328 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches