Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001647/0.001647, 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.001971/0.001971, 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.444/1.444, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2289/0.2289, allocations: 46.12 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.002328/0.002329, allocations: 80.73 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1164, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003232/0.1197, allocations: 1.61 MB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1215, allocations: 1.163 MB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/0.1215, allocations: 3.938 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.1217, allocations: 23.86 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.122, allocations: 83.61 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.1223, allocations: 95.69 kB / 483.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.1224, allocations: 75.83 kB / 483.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.905e-05/0.1225, allocations: 12 kB / 483.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.486e-05/0.1226, allocations: 35.84 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.1228, allocations: 43.83 kB / 483.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.1228, allocations: 4 kB / 483.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.123, allocations: 95.95 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.123, allocations: 23.84 kB / 483.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.1231, allocations: 23.81 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.1233, allocations: 151.9 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1233, allocations: 0 / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1233, allocations: 0 / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1234, allocations: 7.922 kB / 483.7 MB, free: 1.695 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005277/0.1239, allocations: 403.1 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1239, allocations: 8.031 kB / 484.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.124, allocations: 38.73 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.124, allocations: 12.84 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1242, allocations: 192.2 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.1243, allocations: 384 / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.1243, allocations: 8.281 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1245, allocations: 75.31 kB / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1245, allocations: 11.94 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1245, allocations: 4 kB / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1245, allocations: 0 / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.1246, allocations: 31.97 kB / 484.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.125, allocations: 300.7 kB / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.1252, allocations: 50.56 kB / 484.8 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.728e-05/0.1252, allocations: 24.97 kB / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.1253, allocations: 0 / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.1253, allocations: 34.5 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.1253, allocations: 0 / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006436/0.1259, allocations: 181.3 kB / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.126, allocations: 81.11 kB / 485.1 MB, free: 68 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.1262, allocations: 156.2 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1263, allocations: 29.7 kB / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.1263, allocations: 96.12 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.1264, allocations: 23.64 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.1264, allocations: 21.72 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1265, allocations: 322.8 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.253e-05/0.1266, allocations: 23.98 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.09e-05/0.1267, allocations: 41.69 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.1269, allocations: 56.84 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1269, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002311/0.1271, allocations: 109.5 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1272, allocations: 8.031 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1272, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1272, allocations: 384 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1273, allocations: 19.98 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1273, allocations: 3.938 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.1274, allocations: 15.89 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.1274, allocations: 0 / 486 MB, free: 15.11 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 (8): * Single equations (assignments): 8 * 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 9.995e-05/0.1275, allocations: 113.8 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.1276, allocations: 15.91 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.1278, allocations: 122.5 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1279, allocations: 7.938 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1279, allocations: 3.938 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1279, allocations: 3.938 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.1284, allocations: 386.5 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1284, allocations: 0 / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.648e-05/0.1285, allocations: 23.98 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1285, allocations: 3.938 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1285, allocations: 0 / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1285, allocations: 7.984 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1285, allocations: 0 / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1288, allocations: 191.4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.1289, allocations: 92.94 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.1289, allocations: 4 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.129, allocations: 4 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.1291, allocations: 7.984 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.1291, allocations: 7.938 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.1292, allocations: 117.4 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1292, allocations: 0 / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.1295, allocations: 40 kB / 487.1 MB, free: 13.88 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 (8): * Single equations (assignments): 8 * 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.002141/0.1316, allocations: 1.117 MB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.1319, allocations: 71.88 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1319, allocations: 0 / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.164e-05/0.132, allocations: 31.98 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1324, allocations: 34.25 kB / 488.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.1341, allocations: 1.5 MB / 489.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1345, allocations: 0.6963 MB / 490.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.045e-05/0.1346, allocations: 20.73 kB / 490.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.1346, allocations: 35.41 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1346, allocations: 0 / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.1605, allocations: 3.314 MB / 493.9 MB, free: 7.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.036, allocations: 21.11 kB / 494 MB, free: 7.148 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18_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_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1)