Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00171/0.00171, 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.002037/0.002037, 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.487/1.487, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2265/0.2265, allocations: 46.12 MB / 344.2 MB, free: 11.52 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.002199/0.002199, allocations: 80.16 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1398, allocations: 62.45 MB / 480.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.004613/0.1444, allocations: 1.659 MB / 481.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.147, allocations: 1.195 MB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.1471, allocations: 4 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.1474, allocations: 31.78 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003988/0.1478, allocations: 83.61 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.1485, allocations: 180.8 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.1488, allocations: 75.77 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1489, allocations: 23.97 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.149, allocations: 31.86 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.1492, allocations: 39.84 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.1492, allocations: 4 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.1495, allocations: 103.9 kB / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.928e-05/0.1496, allocations: 19.92 kB / 483.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.026e-05/0.1497, allocations: 27.81 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.15, allocations: 155.9 kB / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1501, allocations: 3.938 kB / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1501, allocations: 0 / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1501, allocations: 4 kB / 483.8 MB, free: 1.445 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.0007318/0.1508, allocations: 411.1 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1509, allocations: 8.031 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.148e-05/0.1509, allocations: 42.67 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.151, allocations: 8.844 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.1513, allocations: 206.2 kB / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.1513, allocations: 384 / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.1513, allocations: 384 / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.1516, allocations: 87.31 kB / 484.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1516, allocations: 4 kB / 484.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.1516, allocations: 0 / 484.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1517, allocations: 0 / 484.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.1519, allocations: 43.89 kB / 484.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/0.1524, allocations: 308.8 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.1526, allocations: 50.55 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1527, allocations: 24.94 kB / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1528, allocations: 0 / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.1528, allocations: 38.5 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.1528, allocations: 4 kB / 485 MB, free: 60 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001198/0.154, allocations: 233.2 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.1541, allocations: 81.05 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.1544, allocations: 165.7 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.1544, allocations: 25.7 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.1545, allocations: 92.14 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.1545, allocations: 23.7 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.1546, allocations: 21.72 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1548, allocations: 318.8 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.155, allocations: 39.97 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.1552, allocations: 61.73 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.1555, allocations: 84.8 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1555, allocations: 0 / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004489/0.156, allocations: 133.5 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.156, allocations: 4 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.156, allocations: 4 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1561, allocations: 0 / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1562, allocations: 19.98 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1562, allocations: 4 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.1564, allocations: 19.77 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.1564, allocations: 8 kB / 486.4 MB, free: 14.67 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.0001392/0.1565, allocations: 121.8 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.1566, allocations: 11.84 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004795/0.1571, allocations: 138.3 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.1571, allocations: 4 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1571, allocations: 0 / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1571, allocations: 3.938 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008249/0.158, allocations: 418.5 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.158, allocations: 0 / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.1581, allocations: 23.92 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.1581, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.1583, allocations: 3.938 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1583, allocations: 4 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1583, allocations: 4 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.1588, allocations: 215.8 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.629e-05/0.1589, allocations: 89 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.1589, allocations: 7.938 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1591, allocations: 11.92 kB / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.1591, allocations: 8 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.1592, allocations: 4 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.1593, allocations: 121.8 kB / 487.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1593, allocations: 0 / 487.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004746/0.1598, allocations: 43.98 kB / 487.6 MB, free: 13.36 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.002911/0.1627, allocations: 1.141 MB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004225/0.1632, allocations: 99.84 kB / 488.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1632, allocations: 4 kB / 488.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.1635, allocations: 47.97 kB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.164, allocations: 15.98 kB / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/0.1671, allocations: 1.644 MB / 490.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.1675, allocations: 0.7002 MB / 491.2 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.1677, allocations: 28.42 kB / 491.2 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.643e-05/0.1678, allocations: 31.41 kB / 491.3 MB, free: 9.688 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1678, allocations: 0 / 491.3 MB, free: 9.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.1943, allocations: 3.519 MB / 494.8 MB, free: 6.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.321/8.515, allocations: 6.375 kB / 494.8 MB, free: 6.242 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1)