Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, 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.001398/0.001398, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, 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.2307/0.2307, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002194/0.002194, allocations: 85.75 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1169, allocations: 62.43 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003331/0.1202, allocations: 1.616 MB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1213, allocations: 0.5494 MB / 482.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.1214, allocations: 4 kB / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.1216, allocations: 35.77 kB / 482.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.1218, allocations: 67.7 kB / 482.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.1221, allocations: 123.1 kB / 482.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1223, allocations: 63.84 kB / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1224, allocations: 19.98 kB / 482.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.701e-05/0.1225, allocations: 27.84 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.779e-05/0.1226, allocations: 31.86 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.1226, allocations: 4 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.1228, allocations: 95.88 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.828e-05/0.1229, allocations: 15.92 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.1229, allocations: 23.86 kB / 482.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.1232, allocations: 143.9 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1232, allocations: 0 / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1232, allocations: 4 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1232, allocations: 0 / 483 MB, free: 2.336 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.0006199/0.1239, allocations: 411.1 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1239, allocations: 12.03 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.226e-05/0.124, allocations: 30.75 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.124, allocations: 12.78 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1243, allocations: 192.2 kB / 483.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1243, allocations: 4.375 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.1243, allocations: 4.375 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.1245, allocations: 67.33 kB / 483.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1245, allocations: 3.938 kB / 483.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1245, allocations: 0 / 483.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1245, allocations: 4 kB / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1246, allocations: 23.97 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.1251, allocations: 292.9 kB / 484 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1253, allocations: 58.47 kB / 484.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/0.1254, allocations: 28.88 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.1254, allocations: 0 / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.1254, allocations: 34.56 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1254, allocations: 0 / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007029/0.1261, allocations: 181.2 kB / 484.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.1262, allocations: 85.09 kB / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.1264, allocations: 148.2 kB / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.1264, allocations: 29.7 kB / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.1265, allocations: 96.12 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.1266, allocations: 23.66 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.1266, allocations: 21.7 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1268, allocations: 322.8 kB / 485 MB, free: 60 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.511e-05/0.1269, allocations: 31.97 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.127, allocations: 45.73 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.1272, allocations: 76.73 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1272, allocations: 0 / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002348/0.1275, allocations: 105.6 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1275, allocations: 4 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1275, allocations: 0 / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1275, allocations: 0 / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1276, allocations: 19.98 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1276, allocations: 0 / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.1277, allocations: 11.94 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.1277, allocations: 7.984 kB / 485.3 MB, free: 15.75 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.000101/0.1278, allocations: 121.7 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.1279, allocations: 11.91 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.1282, allocations: 118.6 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1282, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1282, allocations: 4 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1282, allocations: 3.938 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.1287, allocations: 394.3 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1288, allocations: 0 / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.746e-05/0.1288, allocations: 19.98 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1289, allocations: 7.938 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.1289, allocations: 4 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1289, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1289, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.1292, allocations: 195.4 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.1292, allocations: 85 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1292, allocations: 7.938 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/0.1293, allocations: 8 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.1294, allocations: 7.984 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.1294, allocations: 7.938 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.1295, allocations: 113.3 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1295, allocations: 0 / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.1298, allocations: 35.98 kB / 486.5 MB, free: 14.52 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 (7): * Single equations (assignments): 7 * 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.00228/0.1321, allocations: 1.125 MB / 487.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.1323, allocations: 79.94 kB / 487.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1324, allocations: 0 / 487.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.261e-05/0.1325, allocations: 35.91 kB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1328, allocations: 28.25 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1347, allocations: 1.531 MB / 489.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1351, allocations: 0.7002 MB / 490 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.264e-05/0.1352, allocations: 21.11 kB / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.1353, allocations: 31.41 kB / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1353, allocations: 0 / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.1594, allocations: 3.421 MB / 493.4 MB, free: 7.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.253, allocations: 4 kB / 493.4 MB, free: 7.672 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1)