Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, 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.001341/0.001341, 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.471/1.471, 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.2336/0.2336, 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.00279/0.00279, allocations: 84.28 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1472, allocations: 62.45 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003516/0.1507, allocations: 1.588 MB / 481.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1518, allocations: 0.5416 MB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.817e-05/0.1519, allocations: 7.938 kB / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.1521, allocations: 19.8 kB / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.1524, allocations: 83.67 kB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.1528, allocations: 110.8 kB / 482.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.153, allocations: 63.84 kB / 482.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1531, allocations: 19.98 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.157e-05/0.1531, allocations: 23.86 kB / 482.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.1532, allocations: 27.84 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.1533, allocations: 4 kB / 482.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.101e-05/0.1533, allocations: 28 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.1534, allocations: 11.98 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.1535, allocations: 19.81 kB / 482.8 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.1536, allocations: 91.98 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.1537, allocations: 0 / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1537, allocations: 3.938 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1537, allocations: 0 / 482.8 MB, free: 2.5 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.0005307/0.1542, allocations: 387.1 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1543, allocations: 8.031 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.1543, allocations: 34.75 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.1544, allocations: 8.844 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.1546, allocations: 194.2 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.1546, allocations: 4.312 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.1546, allocations: 8.375 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1548, allocations: 45.62 kB / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.1548, allocations: 11.94 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.1548, allocations: 0 / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1548, allocations: 0 / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.726e-05/0.1549, allocations: 23.97 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.1553, allocations: 284.8 kB / 483.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.1556, allocations: 58.42 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/0.1556, allocations: 16.86 kB / 483.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.1557, allocations: 0 / 483.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.1557, allocations: 34.64 kB / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1557, allocations: 0 / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005779/0.1563, allocations: 161.2 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.1563, allocations: 51.41 kB / 484.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.1565, allocations: 161.8 kB / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1565, allocations: 25.7 kB / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.1566, allocations: 92.14 kB / 484.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.1566, allocations: 23.73 kB / 484.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.1567, allocations: 17.72 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1568, allocations: 322.8 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.954e-05/0.1569, allocations: 19.98 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/0.157, allocations: 23.98 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.1571, allocations: 45.02 kB / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1571, allocations: 4 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001959/0.1573, allocations: 93.5 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1574, allocations: 4 kB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1574, allocations: 4 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1574, allocations: 0 / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/0.1575, allocations: 15.98 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.1575, allocations: 3.938 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.1575, allocations: 8 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1575, allocations: 0 / 485 MB, free: 120 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.0001166/0.1577, allocations: 121.8 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.1577, allocations: 7.906 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.158, allocations: 101.9 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.158, allocations: 4 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.158, allocations: 3.938 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.158, allocations: 0 / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.1585, allocations: 346.6 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1585, allocations: 0 / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.234e-05/0.1585, allocations: 23.92 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1586, allocations: 7.875 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1586, allocations: 4.219 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1586, allocations: 0 / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1586, allocations: 0 / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.1588, allocations: 187.5 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.1589, allocations: 85.16 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.1589, allocations: 11.94 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.159, allocations: 7.984 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.1591, allocations: 0 / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1591, allocations: 4 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.1592, allocations: 128.4 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1592, allocations: 0 / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.1595, allocations: 19.91 kB / 486 MB, free: 14.97 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.00186/0.1613, allocations: 1.017 MB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.1615, allocations: 59.95 kB / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1616, allocations: 3.938 kB / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.1617, allocations: 27.98 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.162, allocations: 15.98 kB / 487.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.1639, allocations: 1.483 MB / 488.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.1644, allocations: 0.7034 MB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.612e-05/0.1645, allocations: 8 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.1646, allocations: 27.42 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1646, allocations: 4 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.1922, allocations: 2.55 MB / 491.9 MB, free: 9.148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.814/8.006, allocations: 11.81 kB / 491.9 MB, free: 9.141 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7_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_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1)