Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.00173/0.00173, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001974/0.001974, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2415/0.2415, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.002296/0.002296, allocations: 85.08 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1196, allocations: 62.46 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003548/0.1232, allocations: 1.616 MB / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1244, allocations: 0.5416 MB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.1245, allocations: 0 / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.1248, allocations: 95.73 kB / 482.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.1251, allocations: 111.6 kB / 482.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.1254, allocations: 118.9 kB / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.1256, allocations: 79.88 kB / 482.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1257, allocations: 15.98 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.1258, allocations: 39.84 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1259, allocations: 55.77 kB / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1259, allocations: 4 kB / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.126, allocations: 51.97 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.1261, allocations: 19.92 kB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.502e-05/0.1262, allocations: 35.69 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.1264, allocations: 104 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1264, allocations: 0 / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1264, allocations: 0 / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1264, allocations: 0 / 483.1 MB, free: 2.234 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.000623/0.127, allocations: 422.9 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1271, allocations: 15.97 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.114e-05/0.1272, allocations: 42.75 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.1272, allocations: 16.69 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.1275, allocations: 200.1 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1275, allocations: 4.375 kB / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.1275, allocations: 384 / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.1277, allocations: 65.59 kB / 483.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1277, allocations: 0 / 483.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1277, allocations: 0 / 483.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.1277, allocations: 0 / 483.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.1279, allocations: 31.97 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.1284, allocations: 308.7 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.1285, allocations: 46.56 kB / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.814e-05/0.1286, allocations: 20.94 kB / 484.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.1286, allocations: 4.062 kB / 484.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.1287, allocations: 34.56 kB / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.1287, allocations: 3.938 kB / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00098/0.1297, allocations: 241 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.1297, allocations: 55.41 kB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.13, allocations: 231.1 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.13, allocations: 25.7 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.048e-05/0.1301, allocations: 104.1 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.1302, allocations: 31.56 kB / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.1302, allocations: 29.64 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1304, allocations: 326.8 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-05/0.1305, allocations: 31.98 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-05/0.1306, allocations: 27.97 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.1308, allocations: 72.81 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1308, allocations: 0 / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002462/0.1311, allocations: 117.5 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1311, allocations: 8 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1311, allocations: 4.359 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1311, allocations: 4 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1312, allocations: 15.98 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.1312, allocations: 7.938 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.1313, allocations: 0 / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1313, allocations: 4 kB / 485.6 MB, free: 15.5 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.0001157/0.1314, allocations: 129.8 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.1315, allocations: 15.81 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.1318, allocations: 143.2 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1318, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1318, allocations: 3.938 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1318, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.1324, allocations: 431.2 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.1324, allocations: 8.016 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.278e-05/0.1325, allocations: 15.94 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1325, allocations: 0 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1325, allocations: 7.984 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1325, allocations: 0 / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1325, allocations: 0 / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.1328, allocations: 220.2 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.1329, allocations: 92.86 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.1329, allocations: 8 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.133, allocations: 3.984 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.133, allocations: 4 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.1331, allocations: 4 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.1332, allocations: 184.3 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1332, allocations: 0 / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1335, allocations: 16 kB / 486.8 MB, free: 14.13 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.002403/0.1359, allocations: 1.095 MB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.1362, allocations: 75.89 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1363, allocations: 0 / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1364, allocations: 39.97 kB / 488.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.1368, allocations: 22.28 kB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.1392, allocations: 1.755 MB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.1396, allocations: 0.7158 MB / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.549e-05/0.1397, allocations: 16.66 kB / 490.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.1398, allocations: 35.42 kB / 490.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of SimCode: time 2.384e-06/0.1398, allocations: 8 kB / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.1644, allocations: 3.18 MB / 493.8 MB, free: 7.281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.196, allocations: 9 kB / 493.8 MB, free: 7.273 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1)