Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_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.001258/0.001259, 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.001352/0.001352, 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.61 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.2688/0.2688, allocations: 46.11 MB / 344.2 MB, free: 11.5 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.002278/0.002278, allocations: 76.62 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1108, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003097/0.1139, allocations: 1.7 MB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.115, allocations: 0.5922 MB / 482.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.1151, allocations: 4 kB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.1153, allocations: 27.84 kB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.1156, allocations: 83.55 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.116, allocations: 181.9 kB / 482.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1162, allocations: 91.7 kB / 482.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.1163, allocations: 27.98 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.896e-05/0.1163, allocations: 39.84 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.086e-05/0.1164, allocations: 43.77 kB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1165, allocations: 4 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.1166, allocations: 103.9 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.229e-05/0.1167, allocations: 27.91 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.1168, allocations: 39.8 kB / 483.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.117, allocations: 171.8 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1171, allocations: 0 / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1171, allocations: 0 / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1171, allocations: 0 / 483.3 MB, free: 2.004 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.0006561/0.1177, allocations: 447 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.1178, allocations: 11.97 kB / 483.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.1178, allocations: 30.75 kB / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.1179, allocations: 24.77 kB / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.1181, allocations: 196.2 kB / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.1181, allocations: 384 / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.1181, allocations: 12.38 kB / 484 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.1184, allocations: 95.28 kB / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1185, allocations: 0 / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1185, allocations: 4 kB / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1185, allocations: 4 kB / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.1188, allocations: 79.78 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/0.1195, allocations: 352.6 kB / 484.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.1197, allocations: 74.53 kB / 484.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.1199, allocations: 48.94 kB / 484.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.12, allocations: 7.938 kB / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.12, allocations: 34.55 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.12, allocations: 0 / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001694/0.1217, allocations: 400.9 kB / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.1218, allocations: 81.11 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.122, allocations: 170.1 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.122, allocations: 29.7 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.1221, allocations: 108.1 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.1221, allocations: 31.61 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.1222, allocations: 25.72 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1223, allocations: 318.8 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.1227, allocations: 79.92 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.123, allocations: 101.6 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005928/0.1236, allocations: 168.9 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1236, allocations: 0 / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00072/0.1243, allocations: 213.3 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1244, allocations: 8 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1244, allocations: 0 / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1244, allocations: 0 / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.1246, allocations: 39.95 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1247, allocations: 7.938 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.1248, allocations: 27.95 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1248, allocations: 7.984 kB / 486.5 MB, free: 14.58 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 (10): * Single equations (assignments): 10 * 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.0001112/0.125, allocations: 121.8 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.125, allocations: 11.91 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000721/0.1257, allocations: 222.2 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1258, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1258, allocations: 3.938 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1258, allocations: 4 kB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.1268, allocations: 0.5216 MB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1268, allocations: 0 / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.1271, allocations: 44.27 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1271, allocations: 0 / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1271, allocations: 0 / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.1271, allocations: 4 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1271, allocations: 4.219 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/0.1278, allocations: 307.2 kB / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.1279, allocations: 88.95 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.128, allocations: 0 / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.1282, allocations: 35.89 kB / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.1282, allocations: 11.98 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.1282, allocations: 0 / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.1284, allocations: 123.2 kB / 488 MB, free: 12.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1284, allocations: 4 kB / 488 MB, free: 12.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.1287, allocations: 47.98 kB / 488 MB, free: 12.94 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 (9): * Single equations (assignments): 9 * 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.002699/0.1314, allocations: 1.231 MB / 489.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006998/0.1321, allocations: 179.8 kB / 489.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1321, allocations: 0 / 489.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.1325, allocations: 95.84 kB / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1329, allocations: 30.67 kB / 489.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.1361, allocations: 1.925 MB / 491.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.1364, allocations: 0.7119 MB / 492.2 MB, free: 8.812 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.1366, allocations: 32.52 kB / 492.2 MB, free: 8.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.435e-05/0.1367, allocations: 35.42 kB / 492.3 MB, free: 8.746 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1367, allocations: 4.375 kB / 492.3 MB, free: 8.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.1629, allocations: 4.308 MB / 496.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.223, allocations: 9.422 kB / 496.6 MB, free: 4.516 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_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_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1)