Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001765/0.001773, 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.002111/0.002111, 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.469/1.469, 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.2611/0.2611, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002278/0.002278, allocations: 86.36 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1405, allocations: 62.44 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003453/0.144, allocations: 1.667 MB / 481.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1452, allocations: 0.5805 MB / 482.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.1453, allocations: 4 kB / 482.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006184/0.1459, allocations: 459.1 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.1464, allocations: 291.3 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.1468, allocations: 178.2 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.1471, allocations: 179.6 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1472, allocations: 28.2 kB / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1473, allocations: 111.7 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.1476, allocations: 219.5 kB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.1476, allocations: 7.984 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.1477, allocations: 43.98 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1478, allocations: 83.69 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.148, allocations: 110.9 kB / 484.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003593/0.1483, allocations: 279.2 kB / 484.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1483, allocations: 0 / 484.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1483, allocations: 0 / 484.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1484, allocations: 0 / 484.4 MB, free: 0.8945 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.0007892/0.1492, allocations: 0.6491 MB / 485.1 MB, free: 200 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1492, allocations: 19.97 kB / 485.1 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.49e-05/0.1493, allocations: 34.75 kB / 485.1 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.1493, allocations: 44.38 kB / 485.2 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.1497, allocations: 300.1 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1497, allocations: 4.375 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1497, allocations: 4.375 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.1499, allocations: 65.55 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1499, allocations: 3.938 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1499, allocations: 4 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1499, allocations: 8 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1501, allocations: 27.97 kB / 485.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.1506, allocations: 416.6 kB / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.1508, allocations: 42.59 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/0.1508, allocations: 24.94 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1508, allocations: 4 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.1509, allocations: 30.56 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1509, allocations: 0 / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001013/0.1519, allocations: 328.1 kB / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.152, allocations: 59.34 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009373/0.1529, allocations: 0.8776 MB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1529, allocations: 33.64 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.1531, allocations: 224.1 kB / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.1532, allocations: 27.64 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.1532, allocations: 21.72 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1534, allocations: 362.8 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.032e-05/0.1535, allocations: 31.97 kB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.567e-05/0.1536, allocations: 35.97 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.1538, allocations: 68.83 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1538, allocations: 0 / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000272/0.1541, allocations: 157 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1541, allocations: 8 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1541, allocations: 0 / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1541, allocations: 0 / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1543, allocations: 27.86 kB / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1543, allocations: 0 / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.739e-05/0.1543, allocations: 4 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1544, allocations: 3.984 kB / 488.3 MB, free: 12.75 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 0.000212/0.1546, allocations: 221.8 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.339e-05/0.1546, allocations: 43.44 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/0.155, allocations: 177.4 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.155, allocations: 3.938 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.155, allocations: 0 / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1551, allocations: 7.938 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007092/0.1558, allocations: 0.523 MB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1558, allocations: 0 / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.425e-05/0.1559, allocations: 19.98 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.1559, allocations: 0 / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1559, allocations: 0 / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1559, allocations: 4 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1559, allocations: 0 / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.1562, allocations: 267.8 kB / 489.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1564, allocations: 108.5 kB / 489.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.1564, allocations: 4 kB / 489.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.487e-05/0.1565, allocations: 7.984 kB / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.1565, allocations: 8 kB / 489.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.1565, allocations: 0 / 489.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007536/0.1573, allocations: 0.6667 MB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1573, allocations: 0 / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000276/0.1576, allocations: 31.98 kB / 490.4 MB, free: 10.56 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 (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.002242/0.1598, allocations: 1.127 MB / 491.5 MB, free: 9.566 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.1601, allocations: 79.94 kB / 491.6 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1601, allocations: 4 kB / 491.6 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1602, allocations: 39.92 kB / 491.6 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.1607, allocations: 35.17 kB / 491.7 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004007/0.1647, allocations: 3.423 MB / 495.1 MB, free: 5.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.1652, allocations: 0.8338 MB / 495.9 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.742e-05/0.1653, allocations: 24.72 kB / 495.9 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.1654, allocations: 123.4 kB / 496.1 MB, free: 4.902 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1654, allocations: 0 / 496.1 MB, free: 4.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.33/0.4954, allocations: 6.332 MB / 0.4906 GB, free: 14.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.639, allocations: 1.078 kB / 0.4906 GB, free: 14.64 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1)