Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, 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.001284/0.001284, 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.47/1.47, allocations: 227.4 MB / 246.8 MB, free: 10.62 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.2431/0.2431, allocations: 46.1 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.003533/0.003533, allocations: 84.86 kB / 417.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1361, allocations: 62.44 MB / 480.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.004219/0.1404, allocations: 1.653 MB / 481.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.1417, allocations: 0.5455 MB / 482.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.647e-05/0.1418, allocations: 0 / 482.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.1422, allocations: 95.69 kB / 482.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004305/0.1427, allocations: 115.6 kB / 482.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.1431, allocations: 94.7 kB / 482.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.1433, allocations: 95.8 kB / 482.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.1435, allocations: 24.27 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1436, allocations: 47.83 kB / 482.9 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1438, allocations: 55.77 kB / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1438, allocations: 11.98 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1439, allocations: 43.98 kB / 483 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.888e-05/0.144, allocations: 27.92 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.1441, allocations: 39.67 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.1443, allocations: 131.5 kB / 483.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1443, allocations: 4 kB / 483.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1443, allocations: 0 / 483.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.1444, allocations: 0 / 483.2 MB, free: 2.191 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005764/0.1449, allocations: 434.8 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.145, allocations: 8.031 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.259e-05/0.1451, allocations: 42.69 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.1451, allocations: 12.75 kB / 483.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.1454, allocations: 204 kB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1454, allocations: 384 / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.1454, allocations: 12.38 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.1456, allocations: 77.53 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1456, allocations: 4 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1457, allocations: 0 / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1457, allocations: 4 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.1458, allocations: 43.91 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005335/0.1463, allocations: 348.5 kB / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.1465, allocations: 62.5 kB / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.1466, allocations: 20.84 kB / 484.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.1466, allocations: 4 kB / 484.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.1466, allocations: 30.56 kB / 484.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1467, allocations: 0 / 484.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001245/0.1479, allocations: 313.4 kB / 484.8 MB, free: 436 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.148, allocations: 51.41 kB / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.1483, allocations: 240.3 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.1483, allocations: 29.7 kB / 485.1 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.1485, allocations: 112 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.989e-05/0.1485, allocations: 39.45 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.1486, allocations: 25.7 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1488, allocations: 326.8 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1489, allocations: 35.92 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.212e-05/0.149, allocations: 43.97 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.1492, allocations: 98.95 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1492, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002764/0.1495, allocations: 129.5 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1495, allocations: 8 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1495, allocations: 240 / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1496, allocations: 3.938 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.1497, allocations: 27.92 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/0.1497, allocations: 12.08 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.311e-05/0.1498, allocations: 11.94 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.1498, allocations: 4 kB / 485.9 MB, free: 15.2 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 (13): * Single equations (assignments): 13 * 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.0001582/0.15, allocations: 133.8 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.15, allocations: 15.81 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.1504, allocations: 170.4 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1504, allocations: 4 kB / 486.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.1505, allocations: 11.94 kB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1505, allocations: 0 / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006924/0.1512, allocations: 483.1 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1512, allocations: 0 / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.329e-05/0.1513, allocations: 28.02 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1513, allocations: 0 / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1513, allocations: 4 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1513, allocations: 3.938 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1513, allocations: 0 / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.1517, allocations: 244 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.1518, allocations: 92.92 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.1518, allocations: 4 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.1519, allocations: 7.984 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.1519, allocations: 4 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.1519, allocations: 7.984 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.1521, allocations: 181.2 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1521, allocations: 0 / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.1524, allocations: 27.98 kB / 487.3 MB, free: 13.7 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 (13): * Single equations (assignments): 13 * 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.002308/0.1547, allocations: 1.119 MB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.1551, allocations: 103.9 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1551, allocations: 0 / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.1552, allocations: 51.91 kB / 488.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.1557, allocations: 18.28 kB / 488.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.1582, allocations: 1.847 MB / 490.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.1586, allocations: 0.7263 MB / 491.2 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.009e-05/0.1587, allocations: 16.55 kB / 491.2 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.146e-05/0.1587, allocations: 47.42 kB / 491.3 MB, free: 9.801 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1588, allocations: 0 / 491.3 MB, free: 9.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.188, allocations: 3.43 MB / 494.7 MB, free: 6.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.277, allocations: 20.7 kB / 494.7 MB, free: 6.422 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1)