Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.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.CombiTable1Ds.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 104.5 kB / 17.64 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 210.4 kB / 18.58 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, 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.2227/0.2227, 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.002268/0.002268, allocations: 84.92 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1091, allocations: 62.45 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.002992/0.1122, allocations: 1.599 MB / 481.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1139, allocations: 1.156 MB / 483 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/0.114, allocations: 0 / 483 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.1142, allocations: 27.84 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.1145, allocations: 83.61 kB / 483.1 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.1147, allocations: 91.2 kB / 483.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.1149, allocations: 71.83 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.172e-05/0.115, allocations: 11.98 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.018e-05/0.115, allocations: 27.86 kB / 483.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.1152, allocations: 35.84 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1152, allocations: 4 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.1154, allocations: 95.88 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.1154, allocations: 11.98 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.1155, allocations: 23.81 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1157, allocations: 144 kB / 483.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1157, allocations: 0 / 483.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1157, allocations: 0 / 483.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1157, allocations: 3.938 kB / 483.6 MB, free: 1.77 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.0005112/0.1163, allocations: 399.1 kB / 484 MB, free: 1.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1163, allocations: 12.03 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.1164, allocations: 42.67 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.1164, allocations: 8.844 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.1166, allocations: 188.2 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1166, allocations: 8.375 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.1167, allocations: 384 / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.1168, allocations: 63.34 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1168, allocations: 0 / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1168, allocations: 0 / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1168, allocations: 4 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.46e-05/0.1169, allocations: 27.91 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.1173, allocations: 280.9 kB / 484.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.1175, allocations: 46.55 kB / 484.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.1176, allocations: 12.94 kB / 484.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.1176, allocations: 4 kB / 484.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.1176, allocations: 38.5 kB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1176, allocations: 4 kB / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005371/0.1182, allocations: 137.3 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.1182, allocations: 85.03 kB / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.1184, allocations: 145.8 kB / 485.1 MB, free: 84 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1184, allocations: 25.7 kB / 485.1 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.1185, allocations: 96.14 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.1185, allocations: 23.7 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.1186, allocations: 13.72 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1187, allocations: 322.8 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.783e-05/0.1188, allocations: 24.05 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.553e-05/0.1189, allocations: 29.7 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.119, allocations: 52.86 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.119, allocations: 0 / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001955/0.1192, allocations: 77.61 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1193, allocations: 4 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1193, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1193, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.1194, allocations: 15.98 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1194, allocations: 0 / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.1194, allocations: 15.84 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1194, allocations: 0 / 485.7 MB, free: 15.36 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 (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 8.508e-05/0.1195, allocations: 117.8 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.1196, allocations: 4 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.1198, allocations: 101.8 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1198, allocations: 3.938 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1199, allocations: 0 / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1199, allocations: 7.938 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.1203, allocations: 346.9 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1203, allocations: 0 / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.1204, allocations: 16 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1204, allocations: 0 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1204, allocations: 3.938 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.1204, allocations: 3.984 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1204, allocations: 3.938 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.1207, allocations: 175.4 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.1208, allocations: 85.11 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.1208, allocations: 7.922 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.1209, allocations: 4 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.1209, allocations: 3.938 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1209, allocations: 4 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.921e-05/0.121, allocations: 121.6 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.121, allocations: 0 / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.1213, allocations: 35.98 kB / 486.8 MB, free: 14.23 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.002087/0.1234, allocations: 1.09 MB / 487.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.1236, allocations: 55.91 kB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1236, allocations: 0 / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.961e-05/0.1237, allocations: 27.92 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1241, allocations: 18.22 kB / 488 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.1257, allocations: 1.417 MB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.126, allocations: 0.6885 MB / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.976e-05/0.1261, allocations: 11.98 kB / 490.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.1262, allocations: 35.42 kB / 490.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1262, allocations: 0 / 490.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.1519, allocations: 3.141 MB / 493.3 MB, free: 7.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.29, allocations: 12.3 kB / 493.3 MB, free: 7.848 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1)