Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001297, 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.001283/0.001283, 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.457/1.457, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2346/0.2346, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.00237/0.00237, allocations: 82.44 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1405, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003124/0.1437, allocations: 1.612 MB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009771/0.1447, allocations: 0.5338 MB / 482.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.1447, allocations: 4 kB / 482.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.145, allocations: 79.7 kB / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.1453, allocations: 95.64 kB / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.1456, allocations: 98.94 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.1457, allocations: 75.83 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.735e-05/0.1458, allocations: 19.98 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.615e-05/0.1459, allocations: 35.84 kB / 482.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.408e-05/0.146, allocations: 47.83 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.146, allocations: 4 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.442e-05/0.1461, allocations: 47.98 kB / 482.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.1462, allocations: 15.92 kB / 482.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.1462, allocations: 35.73 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.1464, allocations: 95.98 kB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.1464, allocations: 8 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1464, allocations: 0 / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1464, allocations: 0 / 483 MB, free: 2.336 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.0004671/0.1469, allocations: 410.9 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1469, allocations: 8.031 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.147, allocations: 34.75 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.147, allocations: 20.69 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.1473, allocations: 192.1 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1473, allocations: 4.375 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1473, allocations: 4.375 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.1474, allocations: 61.61 kB / 483.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1475, allocations: 0 / 483.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1475, allocations: 3.938 kB / 483.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1475, allocations: 0 / 483.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.732e-05/0.1476, allocations: 27.97 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.148, allocations: 300.7 kB / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.1481, allocations: 42.5 kB / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/0.1481, allocations: 20.94 kB / 484.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.1482, allocations: 0 / 484.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.1482, allocations: 34.56 kB / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1482, allocations: 0 / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008529/0.1491, allocations: 225.3 kB / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1491, allocations: 51.41 kB / 484.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.1493, allocations: 203.3 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1494, allocations: 29.7 kB / 484.7 MB, free: 496 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.1495, allocations: 108.1 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.1495, allocations: 31.56 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.1496, allocations: 21.78 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1497, allocations: 322.8 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.213e-05/0.1498, allocations: 27.97 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-05/0.1499, allocations: 23.98 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.1501, allocations: 68.77 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1501, allocations: 0 / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002184/0.1503, allocations: 97.56 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1503, allocations: 8 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1503, allocations: 320 / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1503, allocations: 0 / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.1504, allocations: 19.92 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1505, allocations: 7.938 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.364e-05/0.1505, allocations: 4 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1505, allocations: 7.984 kB / 485.4 MB, free: 15.72 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.0001055/0.1506, allocations: 129.8 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.1507, allocations: 15.81 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.151, allocations: 111 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.151, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.151, allocations: 11.88 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.151, allocations: 4 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005269/0.1515, allocations: 403.3 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1515, allocations: 0 / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.599e-05/0.1516, allocations: 27.86 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1516, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1516, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1517, allocations: 4.031 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1517, allocations: 4 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.1519, allocations: 204.2 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.152, allocations: 84.95 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.152, allocations: 8 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.1521, allocations: 7.984 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.1521, allocations: 4 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.1522, allocations: 4 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.1523, allocations: 155.9 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1523, allocations: 0 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1526, allocations: 27.98 kB / 486.6 MB, free: 14.43 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.002217/0.1548, allocations: 1.086 MB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.155, allocations: 71.89 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.155, allocations: 0 / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.126e-05/0.1551, allocations: 39.91 kB / 487.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.1555, allocations: 18.05 kB / 487.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.1575, allocations: 1.63 MB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.1578, allocations: 0.7041 MB / 490.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.917e-05/0.1579, allocations: 12.66 kB / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.1579, allocations: 27.44 kB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.158, allocations: 4 kB / 490.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.1841, allocations: 2.985 MB / 493.1 MB, free: 7.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.414, allocations: 9.141 kB / 493.1 MB, free: 7.953 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1)