Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, 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.001653/0.001653, 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.417/1.417, 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.2262/0.2262, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 76.89 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1206, allocations: 62.45 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003103/0.1237, allocations: 1.588 MB / 481.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1256, allocations: 1.171 MB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.1256, allocations: 0 / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.1259, allocations: 27.84 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.1262, allocations: 87.62 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.1265, allocations: 111.6 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.1267, allocations: 67.89 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.356e-05/0.1268, allocations: 15.97 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.429e-05/0.1268, allocations: 31.8 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.127, allocations: 31.84 kB / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.127, allocations: 4 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.1272, allocations: 95.94 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.1272, allocations: 15.86 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.1273, allocations: 31.86 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.1275, allocations: 132 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1275, allocations: 4 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1275, allocations: 0 / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1275, allocations: 0 / 483.5 MB, free: 1.785 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.0004957/0.128, allocations: 395.1 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1281, allocations: 8.031 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.1281, allocations: 38.73 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.1282, allocations: 4.844 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1284, allocations: 204.1 kB / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.1284, allocations: 4.375 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.1285, allocations: 384 / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1286, allocations: 71.28 kB / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1287, allocations: 0 / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1287, allocations: 0 / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1287, allocations: 0 / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1288, allocations: 27.97 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.1292, allocations: 292.8 kB / 484.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.1295, allocations: 38.56 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.88e-05/0.1295, allocations: 16.94 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.1296, allocations: 4 kB / 484.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1296, allocations: 34.56 kB / 484.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1296, allocations: 0 / 484.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005924/0.1302, allocations: 157.2 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.1303, allocations: 81.05 kB / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.1304, allocations: 144.2 kB / 485 MB, free: 88 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.1305, allocations: 29.64 kB / 485.1 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.939e-05/0.1306, allocations: 100.1 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.1306, allocations: 11.72 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.1306, allocations: 25.7 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1308, allocations: 318.8 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.1308, allocations: 23.97 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.89e-05/0.1309, allocations: 33.7 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.1311, allocations: 53.05 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1311, allocations: 4 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001965/0.1313, allocations: 85.66 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1313, allocations: 4 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1313, allocations: 0 / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1313, allocations: 3.938 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.1314, allocations: 15.98 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1314, allocations: 4 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.046e-05/0.1315, allocations: 11.84 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.1315, allocations: 0 / 485.7 MB, free: 15.34 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 8.034e-05/0.1316, allocations: 117.8 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.1316, allocations: 4 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.1319, allocations: 101.8 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1319, allocations: 0 / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1319, allocations: 4 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1319, allocations: 7.875 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.1324, allocations: 358.5 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1324, allocations: 0 / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.1324, allocations: 11.98 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1325, allocations: 288 / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1325, allocations: 3.938 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.1325, allocations: 7.938 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1325, allocations: 4 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.1327, allocations: 183.5 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.1328, allocations: 89.08 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1328, allocations: 8 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.1329, allocations: 7.938 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.1329, allocations: 4 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.1329, allocations: 7.984 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.619e-05/0.133, allocations: 111.3 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.133, allocations: 0 / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1333, allocations: 39.98 kB / 486.8 MB, free: 14.18 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.001573/0.1349, allocations: 1.101 MB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.1351, allocations: 55.91 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1352, allocations: 0 / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.078e-05/0.1352, allocations: 27.92 kB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1356, allocations: 22.92 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.1374, allocations: 1.441 MB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.1376, allocations: 0.6885 MB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.84e-05/0.1377, allocations: 20.22 kB / 490.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.1378, allocations: 27.42 kB / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1378, allocations: 0 / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.1605, allocations: 3.161 MB / 493.3 MB, free: 7.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/7.817, allocations: 17.02 kB / 493.3 MB, free: 7.723 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches