Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001376/0.001376, allocations: 107.9 kB / 17.63 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001553/0.001553, allocations: 210.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.52/1.52, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2614/0.2614, allocations: 46.11 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 84.03 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1218, allocations: 62.46 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003559/0.1254, allocations: 1.615 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1265, allocations: 0.5494 MB / 482.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.1266, allocations: 0 / 482.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.1269, allocations: 79.7 kB / 482.5 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.1272, allocations: 99.64 kB / 482.6 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.1275, allocations: 111.7 kB / 482.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1277, allocations: 83.83 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/0.1278, allocations: 19.98 kB / 482.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.193e-05/0.1279, allocations: 35.84 kB / 482.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.128, allocations: 55.81 kB / 482.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.128, allocations: 4 kB / 482.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.1282, allocations: 43.98 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.1282, allocations: 27.91 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.1283, allocations: 31.75 kB / 483 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.1285, allocations: 104 kB / 483.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1285, allocations: 3.938 kB / 483.1 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1285, allocations: 3.938 kB / 483.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1285, allocations: 0 / 483.1 MB, free: 2.281 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.0005888/0.1291, allocations: 407 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.1292, allocations: 12.03 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.558e-05/0.1292, allocations: 34.75 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.1293, allocations: 12.84 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.1295, allocations: 196.8 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1296, allocations: 4.375 kB / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.1296, allocations: 384 / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1298, allocations: 73.53 kB / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1298, allocations: 3.906 kB / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1298, allocations: 3.938 kB / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1298, allocations: 0 / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.1299, allocations: 31.95 kB / 483.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.1304, allocations: 308.8 kB / 484.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.1306, allocations: 42.5 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.102e-05/0.1306, allocations: 20.94 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1307, allocations: 4 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.1307, allocations: 34.56 kB / 484.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1307, allocations: 0 / 484.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009844/0.1317, allocations: 237.1 kB / 484.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.1317, allocations: 55.34 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.132, allocations: 222.3 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.132, allocations: 29.7 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.089e-05/0.1321, allocations: 104.1 kB / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.1322, allocations: 31.61 kB / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.1322, allocations: 17.72 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1324, allocations: 326.8 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.412e-05/0.1325, allocations: 27.97 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-05/0.1326, allocations: 40 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.1328, allocations: 76.95 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1328, allocations: 0 / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002472/0.1331, allocations: 109.6 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1331, allocations: 4 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1331, allocations: 0 / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1331, allocations: 0 / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1332, allocations: 23.98 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.1332, allocations: 7.875 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.1333, allocations: 7.984 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.1333, allocations: 0 / 485.5 MB, free: 15.59 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 0.0001206/0.1334, allocations: 129.8 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.1335, allocations: 15.81 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.1338, allocations: 131 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1338, allocations: 4 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1338, allocations: 3.938 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1338, allocations: 3.984 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/0.1344, allocations: 423.3 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1344, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.495e-05/0.1345, allocations: 27.91 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1345, allocations: 0 / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1346, allocations: 7.984 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1346, allocations: 0 / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1346, allocations: 4 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.1349, allocations: 212.1 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.157e-05/0.1349, allocations: 92.95 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.135, allocations: 0 / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.1351, allocations: 15.92 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.1351, allocations: 7.938 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.1351, allocations: 4.406 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.1353, allocations: 160.2 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1353, allocations: 0 / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1355, allocations: 24 kB / 486.8 MB, free: 14.23 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.002183/0.1377, allocations: 1.098 MB / 487.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.138, allocations: 79.88 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.138, allocations: 0 / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.87e-05/0.1381, allocations: 43.91 kB / 488 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.1384, allocations: 14.23 kB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.1405, allocations: 1.701 MB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.1409, allocations: 0.708 MB / 490.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.914e-05/0.1409, allocations: 24.94 kB / 490.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.141, allocations: 39.42 kB / 490.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.141, allocations: 0 / 490.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.1652, allocations: 3.091 MB / 493.6 MB, free: 7.539 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.15, allocations: 13.12 kB / 493.6 MB, free: 7.527 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1)