Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00163/0.00163, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001733/0.001733, allocations: 208.6 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.468/1.468, 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.2288/0.2288, 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.002891/0.002891, allocations: 81.81 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1143, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003163/0.1175, allocations: 1.614 MB / 481.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1186, allocations: 0.5455 MB / 482.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.498e-05/0.1187, allocations: 0 / 482.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.119, allocations: 79.7 kB / 482.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.1193, allocations: 95.66 kB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.1197, allocations: 119.3 kB / 482.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.1198, allocations: 79.81 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.1199, allocations: 12 kB / 482.8 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.475e-05/0.12, allocations: 39.83 kB / 482.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.84e-05/0.1201, allocations: 47.84 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.1201, allocations: 8 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-05/0.1202, allocations: 43.97 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.1203, allocations: 23.92 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.1204, allocations: 31.75 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.1206, allocations: 99.97 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1206, allocations: 0 / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1206, allocations: 0 / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1206, allocations: 0 / 483 MB, free: 2.305 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.000481/0.1211, allocations: 407 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1211, allocations: 8.031 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.1212, allocations: 38.75 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.1212, allocations: 24.67 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.1214, allocations: 192.1 kB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.1214, allocations: 4.375 kB / 483.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.1215, allocations: 4.312 kB / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1216, allocations: 61.61 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1216, allocations: 3.938 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.1217, allocations: 0 / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.1217, allocations: 0 / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1218, allocations: 31.97 kB / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.1222, allocations: 308.7 kB / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.1223, allocations: 42.5 kB / 484.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.1224, allocations: 20.94 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1224, allocations: 12.06 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.1225, allocations: 30.56 kB / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1225, allocations: 0 / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009415/0.1234, allocations: 237 kB / 484.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1235, allocations: 55.41 kB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.1237, allocations: 207.3 kB / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1237, allocations: 29.7 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.1238, allocations: 100.1 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.1239, allocations: 31.56 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.1239, allocations: 21.7 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1241, allocations: 326.8 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.1242, allocations: 27.98 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.814e-05/0.1243, allocations: 31.97 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.1245, allocations: 76.77 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1245, allocations: 0 / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000254/0.1247, allocations: 117.5 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1248, allocations: 4 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1248, allocations: 4 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.1248, allocations: 0 / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1249, allocations: 23.92 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1249, allocations: 3.938 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.125, allocations: 4 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.125, allocations: 0 / 485.5 MB, free: 15.62 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.0001184/0.1251, allocations: 133.8 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.1252, allocations: 15.81 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.1255, allocations: 131 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1255, allocations: 0 / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.1255, allocations: 3.938 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1255, allocations: 0 / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006232/0.1262, allocations: 415.7 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1262, allocations: 4.031 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.152e-05/0.1263, allocations: 27.86 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1263, allocations: 0 / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1263, allocations: 7.938 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1263, allocations: 0 / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.1263, allocations: 4 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.1267, allocations: 224.2 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.1267, allocations: 88.94 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.1268, allocations: 4 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.1268, allocations: 4 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.1269, allocations: 7.984 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.1269, allocations: 7.938 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.1271, allocations: 147.9 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1271, allocations: 4 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1273, allocations: 24 kB / 486.7 MB, free: 14.29 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.002157/0.1295, allocations: 1.092 MB / 487.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.1298, allocations: 75.89 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.1298, allocations: 4 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1299, allocations: 43.91 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.1303, allocations: 12.06 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.1325, allocations: 1.672 MB / 489.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.1328, allocations: 0.708 MB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.693e-05/0.1329, allocations: 20.95 kB / 490.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.133, allocations: 39.42 kB / 490.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.133, allocations: 4 kB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.1583, allocations: 3.033 MB / 493.4 MB, free: 7.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.267, allocations: 1.078 kB / 493.4 MB, free: 7.688 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3_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_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1)