Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001801/0.001801, 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.002157/0.002157, 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.483/1.483, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.253/0.253, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002176/0.002176, allocations: 80.39 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1256, allocations: 62.45 MB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003228/0.1289, allocations: 1.591 MB / 481.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.13, allocations: 0.5377 MB / 482.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.1301, allocations: 3.938 kB / 482.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.1303, allocations: 35.78 kB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.1306, allocations: 75.69 kB / 482.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.131, allocations: 115.6 kB / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.1311, allocations: 59.91 kB / 482.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1313, allocations: 15.92 kB / 482.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.1313, allocations: 27.86 kB / 482.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.1314, allocations: 19.86 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1314, allocations: 4 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1315, allocations: 35.98 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.1316, allocations: 15.92 kB / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.1316, allocations: 27.75 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.1319, allocations: 84.05 kB / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1319, allocations: 0 / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1319, allocations: 0 / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.1319, allocations: 4 kB / 482.9 MB, free: 2.441 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.0005917/0.1325, allocations: 402.9 kB / 483.2 MB, free: 2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1325, allocations: 12.03 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.1326, allocations: 30.75 kB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.1326, allocations: 8.844 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.1328, allocations: 195.7 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1329, allocations: 8.125 kB / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.1329, allocations: 4 kB / 483.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1331, allocations: 53.69 kB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1331, allocations: 0 / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1331, allocations: 0 / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1331, allocations: 0 / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1332, allocations: 31.91 kB / 483.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.1337, allocations: 284.9 kB / 483.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.1339, allocations: 50.53 kB / 483.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.861e-05/0.1339, allocations: 16.95 kB / 483.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.134, allocations: 3.984 kB / 483.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.134, allocations: 38.5 kB / 484 MB, free: 1.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.134, allocations: 0 / 484 MB, free: 1.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006095/0.1346, allocations: 149.3 kB / 484.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.1347, allocations: 55.41 kB / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.1349, allocations: 178.4 kB / 484.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1349, allocations: 25.7 kB / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.135, allocations: 104 kB / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.135, allocations: 11.75 kB / 484.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.1351, allocations: 21.72 kB / 484.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1352, allocations: 322.8 kB / 484.8 MB, free: 256 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.531e-05/0.1353, allocations: 19.98 kB / 484.8 MB, free: 236 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.814e-05/0.1354, allocations: 23.97 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1355, allocations: 52.83 kB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1356, allocations: 0 / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001934/0.1358, allocations: 89.52 kB / 485 MB, free: 60 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1358, allocations: 11.98 kB / 485 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1358, allocations: 3.938 kB / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1358, allocations: 0 / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.382e-05/0.1359, allocations: 12 kB / 485 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1359, allocations: 3.938 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.949e-05/0.1359, allocations: 3.984 kB / 485 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.136, allocations: 7.938 kB / 485 MB, free: 16 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 0.0001138/0.1361, allocations: 117.8 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.1361, allocations: 15.89 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.1364, allocations: 102.2 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1364, allocations: 0 / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1364, allocations: 3.938 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1364, allocations: 0 / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.1369, allocations: 358.5 kB / 485.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1369, allocations: 4 kB / 485.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.482e-05/0.1369, allocations: 8 kB / 485.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.137, allocations: 3.938 kB / 485.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.137, allocations: 7.984 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.137, allocations: 0 / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.137, allocations: 3.938 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.1372, allocations: 187.3 kB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.1373, allocations: 81.02 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.1373, allocations: 7.938 kB / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.749e-05/0.1374, allocations: 4 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.1374, allocations: 7.984 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1375, allocations: 0 / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1376, allocations: 138.3 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1376, allocations: 0 / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.1378, allocations: 12 kB / 486.1 MB, free: 14.87 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.001959/0.1398, allocations: 1.02 MB / 487.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.14, allocations: 55.95 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1401, allocations: 4 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.305e-05/0.1401, allocations: 27.92 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.1405, allocations: 18.05 kB / 487.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.1424, allocations: 1.513 MB / 488.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.1428, allocations: 0.7002 MB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.359e-05/0.1429, allocations: 19.98 kB / 489.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.143, allocations: 27.38 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.143, allocations: 0 / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.1683, allocations: 2.617 MB / 492.1 MB, free: 8.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.105, allocations: 9.125 kB / 492.1 MB, free: 8.953 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12_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_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1)