Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001749/0.001749, 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.002101/0.002101, 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.494/1.494, 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.2244/0.2244, 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.002256/0.002256, allocations: 85.59 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1248, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003046/0.1279, allocations: 1.592 MB / 481.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1289, allocations: 0.5339 MB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.129, allocations: 3.938 kB / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.1292, allocations: 23.78 kB / 482.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.1294, allocations: 79.69 kB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1297, allocations: 115 kB / 482.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1299, allocations: 63.84 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.538e-05/0.13, allocations: 11.98 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.314e-05/0.13, allocations: 23.88 kB / 482.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.1301, allocations: 27.84 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.1301, allocations: 4 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.588e-05/0.1302, allocations: 31.98 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.1302, allocations: 8 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.1303, allocations: 23.8 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.1304, allocations: 84 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1305, allocations: 0 / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1305, allocations: 0 / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1305, allocations: 7.938 kB / 482.8 MB, free: 2.504 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.0004789/0.131, allocations: 391.1 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.131, allocations: 8.031 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.131, allocations: 34.75 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.1311, allocations: 8.844 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.1313, allocations: 194.8 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.1313, allocations: 384 / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.1313, allocations: 384 / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.1315, allocations: 57.56 kB / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1315, allocations: 0 / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.1315, allocations: 0 / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1315, allocations: 4 kB / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.355e-05/0.1316, allocations: 27.97 kB / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.132, allocations: 280.9 kB / 483.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.1322, allocations: 46.48 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.1323, allocations: 20.86 kB / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1323, allocations: 0 / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1324, allocations: 38.64 kB / 483.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.1324, allocations: 0 / 483.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005858/0.133, allocations: 149.2 kB / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.133, allocations: 59.39 kB / 484.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.1332, allocations: 148.4 kB / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.1332, allocations: 29.7 kB / 484.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.1333, allocations: 92.12 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.1333, allocations: 15.81 kB / 484.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.1333, allocations: 13.72 kB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1335, allocations: 326.8 kB / 484.7 MB, free: 388 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.367e-05/0.1336, allocations: 19.98 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.409e-05/0.1336, allocations: 23.98 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.1338, allocations: 56.75 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.1338, allocations: 0 / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001933/0.134, allocations: 89.52 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.134, allocations: 4 kB / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.134, allocations: 256 / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1341, allocations: 3.984 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.547e-05/0.1341, allocations: 20 kB / 485 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1341, allocations: 0 / 485 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.1342, allocations: 11.92 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1342, allocations: 3.938 kB / 485 MB, free: 144 kB / 350.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 (5): * Single equations (assignments): 5 * 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 9.251e-05/0.1343, allocations: 113.8 kB / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.1344, allocations: 7.906 kB / 485.1 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.1346, allocations: 105.9 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1346, allocations: 4.219 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1347, allocations: 0 / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1347, allocations: 0 / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.1351, allocations: 358.4 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1352, allocations: 7.922 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.1352, allocations: 15.98 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1352, allocations: 4 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1352, allocations: 4 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1353, allocations: 3.938 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1353, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.1355, allocations: 179.4 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.1356, allocations: 77.11 kB / 485.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.1356, allocations: 0 / 485.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.1357, allocations: 19.92 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.1357, allocations: 4 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1357, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.1358, allocations: 117.7 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.436e-06/0.1358, allocations: 0 / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.1361, allocations: 23.84 kB / 486 MB, free: 15.01 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 (5): * Single equations (assignments): 5 * 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.001921/0.138, allocations: 1.012 MB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.1382, allocations: 59.89 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1382, allocations: 4 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.568e-05/0.1383, allocations: 23.98 kB / 487.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1387, allocations: 26.92 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.1405, allocations: 1.453 MB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.1408, allocations: 0.6963 MB / 489.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.64e-05/0.1409, allocations: 16.05 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.141, allocations: 23.42 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.141, allocations: 192 / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.1666, allocations: 2.503 MB / 491.8 MB, free: 9.273 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.15, allocations: 13 kB / 491.8 MB, free: 9.262 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1)