Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001315, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2258/0.2258, allocations: 46.12 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.002247/0.002247, allocations: 84.27 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1115, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003816/0.1154, allocations: 1.658 MB / 481.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1165, allocations: 0.5415 MB / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.1166, allocations: 0 / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.1169, allocations: 95.73 kB / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.1172, allocations: 111.6 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.1175, allocations: 99.06 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.1177, allocations: 103.7 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1178, allocations: 24.27 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.978e-05/0.1179, allocations: 43.83 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.118, allocations: 59.83 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1181, allocations: 4 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1182, allocations: 51.97 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.1182, allocations: 19.92 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.406e-05/0.1183, allocations: 39.69 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.1185, allocations: 135.5 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1185, allocations: 4 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1185, allocations: 0 / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1186, allocations: 0 / 483.2 MB, free: 2.129 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005408/0.1191, allocations: 430.9 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1191, allocations: 12.03 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.812e-05/0.1192, allocations: 34.73 kB / 483.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.1192, allocations: 16.75 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1194, allocations: 204 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1195, allocations: 4.375 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.1195, allocations: 4.375 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1197, allocations: 77.53 kB / 483.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1197, allocations: 4 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1197, allocations: 4 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1197, allocations: 0 / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1198, allocations: 35.97 kB / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.1203, allocations: 340.5 kB / 484.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.1204, allocations: 70.48 kB / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.05e-05/0.1205, allocations: 24.84 kB / 484.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1205, allocations: 0 / 484.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1206, allocations: 38.56 kB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.1206, allocations: 0 / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001049/0.1216, allocations: 309.4 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.1217, allocations: 59.39 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.122, allocations: 236.3 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.122, allocations: 29.7 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.16e-05/0.1221, allocations: 112 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.1221, allocations: 39.45 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.1222, allocations: 29.72 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1224, allocations: 330.8 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.793e-05/0.1225, allocations: 31.98 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.471e-05/0.1226, allocations: 39.97 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.1228, allocations: 88.83 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1228, allocations: 4 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002752/0.1231, allocations: 145.4 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1231, allocations: 4 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1231, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1231, allocations: 3.938 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.1233, allocations: 23.98 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.1233, allocations: 4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.1233, allocations: 7.984 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1233, allocations: 4 kB / 485.9 MB, free: 15.15 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 (13): * Single equations (assignments): 13 * 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.0001177/0.1235, allocations: 141.8 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.1235, allocations: 19.73 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.1239, allocations: 170.1 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1239, allocations: 4 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1239, allocations: 0 / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1239, allocations: 0 / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006601/0.1246, allocations: 483.1 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1246, allocations: 0 / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-05/0.1247, allocations: 27.92 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1247, allocations: 4 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1247, allocations: 8 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1247, allocations: 4.031 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1248, allocations: 4 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.1251, allocations: 240 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.1252, allocations: 92.86 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1252, allocations: 4 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-05/0.1253, allocations: 8 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.1253, allocations: 15.92 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.1253, allocations: 4 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001726/0.1255, allocations: 181.2 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1255, allocations: 0 / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1258, allocations: 28 kB / 487.3 MB, free: 13.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.002209/0.128, allocations: 1.12 MB / 488.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.1283, allocations: 99.83 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1283, allocations: 0 / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.1285, allocations: 55.91 kB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1288, allocations: 28.56 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.1311, allocations: 1.838 MB / 490.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1315, allocations: 0.7158 MB / 491.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.484e-05/0.1316, allocations: 20.53 kB / 491.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.1316, allocations: 43.42 kB / 491.2 MB, free: 9.746 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1317, allocations: 3.938 kB / 491.3 MB, free: 9.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.1547, allocations: 3.441 MB / 494.7 MB, free: 6.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.054, allocations: 9.047 kB / 494.7 MB, free: 6.363 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1)