Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001697/0.001697, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2377/0.2377, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.002201/0.002201, allocations: 84.77 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1149, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.00317/0.1181, allocations: 1.662 MB / 481.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.12, allocations: 1.199 MB / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/0.1201, allocations: 0 / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.1203, allocations: 31.84 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.1206, allocations: 87.55 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.1211, allocations: 176.8 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.1212, allocations: 71.84 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1213, allocations: 23.97 kB / 483.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.484e-05/0.1214, allocations: 35.8 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.1216, allocations: 35.83 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1216, allocations: 8 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.1218, allocations: 103.9 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.1219, allocations: 15.92 kB / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.1219, allocations: 35.8 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.1222, allocations: 151.9 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1222, allocations: 0 / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1222, allocations: 0 / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1222, allocations: 0 / 483.8 MB, free: 1.488 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005986/0.1228, allocations: 415.1 kB / 484.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1229, allocations: 8.031 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.1229, allocations: 38.75 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.123, allocations: 8.844 kB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.1232, allocations: 210 kB / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1233, allocations: 8.375 kB / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.1233, allocations: 4.359 kB / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.1235, allocations: 75.33 kB / 484.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1235, allocations: 0 / 484.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1236, allocations: 4 kB / 484.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1236, allocations: 0 / 484.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.1237, allocations: 51.88 kB / 484.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/0.1243, allocations: 308.8 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.1244, allocations: 46.56 kB / 485 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.819e-05/0.1245, allocations: 24.94 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.1246, allocations: 7.984 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.1246, allocations: 30.56 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.1246, allocations: 3.938 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009453/0.1256, allocations: 233.2 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.1257, allocations: 84.98 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.1259, allocations: 159.9 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.1259, allocations: 29.7 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.126, allocations: 96.12 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.126, allocations: 19.72 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.1261, allocations: 25.7 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.1263, allocations: 314.8 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.1264, allocations: 43.95 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.1266, allocations: 53.69 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.1268, allocations: 80.8 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1268, allocations: 4.031 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003222/0.1272, allocations: 133.5 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.1272, allocations: 4 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.1272, allocations: 4 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1273, allocations: 4 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.1274, allocations: 19.97 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1274, allocations: 4 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.698e-05/0.1275, allocations: 19.78 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1275, allocations: 4 kB / 486.4 MB, free: 14.71 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 (7): * Single equations (assignments): 7 * 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.0001074/0.1276, allocations: 117.8 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.1277, allocations: 7.906 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003765/0.1281, allocations: 142.6 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1281, allocations: 8 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1281, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1281, allocations: 3.938 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000605/0.1287, allocations: 414.5 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1287, allocations: 0 / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.889e-05/0.1288, allocations: 27.86 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1288, allocations: 4 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1289, allocations: 3.938 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1289, allocations: 0 / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1289, allocations: 4 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.1293, allocations: 215.4 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.1293, allocations: 89 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1294, allocations: 11.94 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.1295, allocations: 11.92 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.1295, allocations: 11.98 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1295, allocations: 4 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.1296, allocations: 115.2 kB / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1296, allocations: 0 / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.1299, allocations: 40 kB / 487.6 MB, free: 13.4 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 (7): * Single equations (assignments): 7 * 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.002203/0.1321, allocations: 1.146 MB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003347/0.1325, allocations: 95.84 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1325, allocations: 11.94 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.1326, allocations: 43.97 kB / 488.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.133, allocations: 23.55 kB / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.1353, allocations: 1.64 MB / 490.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.1356, allocations: 0.6963 MB / 491.2 MB, free: 9.785 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.1357, allocations: 36.7 kB / 491.3 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.1358, allocations: 31.42 kB / 491.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1358, allocations: 0 / 491.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.1671, allocations: 3.518 MB / 494.8 MB, free: 6.273 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.088, allocations: 4.312 kB / 494.8 MB, free: 6.273 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32_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_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1)