Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00172/0.00172, allocations: 103.7 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.00197, allocations: 212.6 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.543/1.543, 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.2566/0.2566, allocations: 46.11 MB / 344.2 MB, free: 11.61 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.002389/0.002389, allocations: 85.98 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1149, allocations: 62.45 MB / 480.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003137/0.118, allocations: 1.675 MB / 481.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1192, allocations: 0.5845 MB / 482.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/0.1193, allocations: 3.938 kB / 482.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.1195, allocations: 59.8 kB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.1198, allocations: 103.6 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.1202, allocations: 182.2 kB / 482.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1204, allocations: 83.77 kB / 482.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1205, allocations: 24.22 kB / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.385e-05/0.1206, allocations: 39.84 kB / 483 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1207, allocations: 51.81 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1207, allocations: 4 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1209, allocations: 51.92 kB / 483.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.1209, allocations: 23.92 kB / 483.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/0.121, allocations: 47.66 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.1212, allocations: 115.9 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1212, allocations: 0 / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1212, allocations: 0 / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.1212, allocations: 0 / 483.2 MB, free: 2.113 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005676/0.1218, allocations: 426.9 kB / 483.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1218, allocations: 8.031 kB / 483.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.1219, allocations: 38.75 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.1219, allocations: 8.844 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.1222, allocations: 212.6 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1222, allocations: 4.375 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.1222, allocations: 12.36 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.1224, allocations: 61.61 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1224, allocations: 4 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1224, allocations: 0 / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1224, allocations: 0 / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.1226, allocations: 47.89 kB / 484 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.1231, allocations: 328.8 kB / 484.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.1234, allocations: 54.64 kB / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.733e-05/0.1235, allocations: 32.89 kB / 484.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.1235, allocations: 11.94 kB / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1235, allocations: 34.56 kB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1235, allocations: 0 / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001644/0.1252, allocations: 437 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.1252, allocations: 59.41 kB / 485 MB, free: 184 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.1255, allocations: 203.1 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.1255, allocations: 29.7 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.1256, allocations: 100.1 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.1256, allocations: 39.45 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.1257, allocations: 25.72 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1259, allocations: 322.8 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.126, allocations: 63.89 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.1262, allocations: 55.89 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.1265, allocations: 124.8 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1265, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003713/0.1269, allocations: 169.5 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1269, allocations: 4 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1269, allocations: 0 / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1269, allocations: 3.938 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1271, allocations: 27.92 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.1271, allocations: 4 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.149e-05/0.1272, allocations: 11.89 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1272, allocations: 4 kB / 486.1 MB, free: 14.97 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 (11): * Single equations (assignments): 11 * 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.0001148/0.1273, allocations: 141.8 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.1273, allocations: 7.906 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004563/0.1278, allocations: 183 kB / 486.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.1278, allocations: 7.938 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1278, allocations: 0 / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1278, allocations: 7.938 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007754/0.1286, allocations: 0.5038 MB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1286, allocations: 0 / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.1288, allocations: 27.92 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1288, allocations: 4.062 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1288, allocations: 8 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1288, allocations: 0 / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1288, allocations: 3.984 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/0.1292, allocations: 281 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.1293, allocations: 92.91 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.1293, allocations: 4 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1295, allocations: 12.17 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.1295, allocations: 7.984 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1295, allocations: 12 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1297, allocations: 147.2 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1297, allocations: 4 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000282/0.13, allocations: 32 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002402/0.1324, allocations: 1.146 MB / 488.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004617/0.1328, allocations: 139.8 kB / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.1329, allocations: 0 / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.1331, allocations: 67.89 kB / 489 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.1335, allocations: 19.98 kB / 489 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.1363, allocations: 1.925 MB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.1368, allocations: 0.7235 MB / 491.6 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.1369, allocations: 32.52 kB / 491.7 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.597e-05/0.137, allocations: 39.42 kB / 491.7 MB, free: 9.316 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.137, allocations: 0 / 491.7 MB, free: 9.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.1632, allocations: 3.472 MB / 495.2 MB, free: 5.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.09, allocations: 1.078 kB / 495.2 MB, free: 5.922 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28_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_CombiTable2Dv_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1)