Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.002147/0.002147, 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.002626/0.002626, 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.497/1.497, 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.2637/0.2637, allocations: 46.11 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.00332/0.003321, allocations: 84.62 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1972, allocations: 62.44 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.004615/0.2018, allocations: 1.609 MB / 481.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.2036, allocations: 0.5611 MB / 482.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.326e-05/0.2037, allocations: 0 / 482.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009146/0.2047, allocations: 459.1 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007007/0.2054, allocations: 287.3 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/0.206, allocations: 172.6 kB / 483.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000382/0.2064, allocations: 163.7 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.2066, allocations: 19.92 kB / 483.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.2068, allocations: 103.8 kB / 483.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003975/0.2072, allocations: 211.6 kB / 483.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.2072, allocations: 4 kB / 483.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.2074, allocations: 31.92 kB / 483.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.2075, allocations: 83.69 kB / 483.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.2077, allocations: 99 kB / 484 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.2081, allocations: 251 kB / 484.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2081, allocations: 0 / 484.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2082, allocations: 0 / 484.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.2082, allocations: 0 / 484.2 MB, free: 1.121 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.001142/0.2093, allocations: 0.6416 MB / 484.9 MB, free: 440 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.2094, allocations: 8.031 kB / 484.9 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.131e-05/0.2095, allocations: 42.67 kB / 484.9 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.2096, allocations: 44.38 kB / 485 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004932/0.2101, allocations: 304.1 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2101, allocations: 4.375 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.2101, allocations: 4.375 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.2103, allocations: 49.56 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2104, allocations: 0 / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.2104, allocations: 8 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2104, allocations: 0 / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.2106, allocations: 27.98 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.2113, allocations: 396.6 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.2115, allocations: 30.56 kB / 485.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.44e-05/0.2115, allocations: 12.92 kB / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.2116, allocations: 0 / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.2116, allocations: 34.56 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.2116, allocations: 0 / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004024/0.2121, allocations: 105.1 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.2121, allocations: 51.41 kB / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.2136, allocations: 0.8816 MB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.2136, allocations: 25.7 kB / 486.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.2139, allocations: 232.1 kB / 487.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.2139, allocations: 0 / 487.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.214, allocations: 21.7 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002498/0.2143, allocations: 358.7 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.258e-05/0.2144, allocations: 15.98 kB / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.207e-05/0.2144, allocations: 4 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.2146, allocations: 32.89 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.2146, allocations: 4 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002576/0.2148, allocations: 97 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.2149, allocations: 8 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2149, allocations: 0 / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2149, allocations: 0 / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.55e-05/0.215, allocations: 7.984 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.215, allocations: 0 / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.525e-05/0.2151, allocations: 4 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.2152, allocations: 0 / 487.6 MB, free: 13.46 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 (2): * Single equations (assignments): 2 * 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.0003234/0.2155, allocations: 221.7 kB / 487.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.2156, allocations: 43.44 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.216, allocations: 108.7 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.216, allocations: 3.984 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.216, allocations: 0 / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.216, allocations: 0 / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004883/0.2165, allocations: 297.4 kB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2166, allocations: 4.031 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.2166, allocations: 4 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.2166, allocations: 4 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-06/0.2166, allocations: 0 / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2167, allocations: 0 / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2167, allocations: 0 / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.217, allocations: 190.9 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.2172, allocations: 120.6 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.2173, allocations: 0 / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.2174, allocations: 8 kB / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.2175, allocations: 0 / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.2175, allocations: 0 / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001286/0.2188, allocations: 0.6667 MB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2188, allocations: 0 / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005967/0.2194, allocations: 23.94 kB / 489.3 MB, free: 11.69 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 (2): * Single equations (assignments): 2 * 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.00261/0.2221, allocations: 0.9639 MB / 490.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.2223, allocations: 23.98 kB / 490.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.2223, allocations: 0 / 490.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.558e-05/0.2224, allocations: 19.92 kB / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/0.2232, allocations: 39.05 kB / 490.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006145/0.2293, allocations: 3.218 MB / 493.6 MB, free: 7.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000709/0.2301, allocations: 0.8182 MB / 494.4 MB, free: 6.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.595e-05/0.2302, allocations: 16.05 kB / 494.4 MB, free: 6.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.2304, allocations: 115.4 kB / 494.5 MB, free: 6.461 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2304, allocations: 0 / 494.5 MB, free: 6.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03324/0.2637, allocations: 5.66 MB / 0.4885 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.245, allocations: 5.016 kB / 0.4885 GB, free: 0.8594 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1)