Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001231/0.001231, allocations: 104.4 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.001241/0.001241, 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.46/1.46, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2356/0.2356, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.002241/0.002241, allocations: 84.02 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1124, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003064/0.1154, allocations: 1.667 MB / 481.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1173, allocations: 1.195 MB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.1173, allocations: 0 / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.1175, allocations: 27.86 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.1178, allocations: 83.61 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.1182, allocations: 176.4 kB / 483.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.1184, allocations: 79.77 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.1185, allocations: 15.98 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.218e-05/0.1185, allocations: 39.8 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.1187, allocations: 39.83 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1187, allocations: 8 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.1189, allocations: 95.94 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.119, allocations: 19.92 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.119, allocations: 39.72 kB / 483.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1193, allocations: 143.9 kB / 483.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1193, allocations: 4 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1193, allocations: 0 / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.1193, allocations: 0 / 483.8 MB, free: 1.504 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.0005777/0.1199, allocations: 419.1 kB / 484.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.1199, allocations: 8.031 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.12, allocations: 34.75 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.12, allocations: 8.844 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1202, allocations: 206.1 kB / 484.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.1203, allocations: 8.359 kB / 484.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.1203, allocations: 384 / 484.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.1205, allocations: 79.33 kB / 484.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1205, allocations: 0 / 484.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1205, allocations: 8 kB / 484.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1205, allocations: 0 / 484.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.1207, allocations: 39.95 kB / 484.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.1211, allocations: 312.7 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.1213, allocations: 50.56 kB / 485 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.482e-05/0.1214, allocations: 24.94 kB / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.1214, allocations: 8.047 kB / 485 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1214, allocations: 30.56 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1214, allocations: 0 / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008212/0.1223, allocations: 237.1 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.1223, allocations: 81.05 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.1225, allocations: 163.9 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1225, allocations: 25.7 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.1226, allocations: 100.1 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.1226, allocations: 23.66 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.1227, allocations: 25.7 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1228, allocations: 314.8 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.123, allocations: 43.95 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.1231, allocations: 57.69 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.1234, allocations: 88.78 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1234, allocations: 0 / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003151/0.1237, allocations: 121.5 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1237, allocations: 4 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1237, allocations: 4.031 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1237, allocations: 4 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1239, allocations: 23.91 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1239, allocations: 4 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.584e-05/0.124, allocations: 15.78 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.124, allocations: 8.297 kB / 486.4 MB, free: 14.73 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 9.544e-05/0.1241, allocations: 117.8 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.1241, allocations: 11.91 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003624/0.1245, allocations: 142.2 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1245, allocations: 4 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1245, allocations: 0 / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1245, allocations: 3.938 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005851/0.1251, allocations: 414.5 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1251, allocations: 0 / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-05/0.1252, allocations: 23.98 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1253, allocations: 0 / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1253, allocations: 3.938 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1253, allocations: 0 / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1253, allocations: 7.938 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.1256, allocations: 223.4 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.1257, allocations: 81.02 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.1257, allocations: 11.94 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1258, allocations: 15.86 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.1259, allocations: 11.97 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.1259, allocations: 0 / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.126, allocations: 123.2 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.126, allocations: 0 / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.1263, allocations: 44 kB / 487.6 MB, free: 13.41 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.002226/0.1286, allocations: 1.145 MB / 488.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003436/0.1289, allocations: 87.92 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.1289, allocations: 0 / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.1291, allocations: 55.91 kB / 488.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1295, allocations: 22.36 kB / 488.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.1319, allocations: 1.643 MB / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.1323, allocations: 0.704 MB / 491.2 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.1324, allocations: 28.7 kB / 491.2 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.407e-05/0.1325, allocations: 31.42 kB / 491.3 MB, free: 9.734 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1325, allocations: 0 / 491.3 MB, free: 9.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.1578, allocations: 3.514 MB / 494.8 MB, free: 6.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.317/8.475, allocations: 11.83 kB / 494.8 MB, free: 6.285 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1)