Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001467/0.001467, allocations: 103.5 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.001492/0.001492, 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.559/1.559, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2264/0.2264, 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.002609/0.002609, allocations: 84.45 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1279, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003195/0.1312, allocations: 1.602 MB / 481.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1322, allocations: 0.5261 MB / 482.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.1323, allocations: 3.938 kB / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.1325, allocations: 19.86 kB / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.1327, allocations: 83.61 kB / 482.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.133, allocations: 98.44 kB / 482.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.1332, allocations: 63.84 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.1333, allocations: 8 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.901e-05/0.1333, allocations: 27.86 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.019e-05/0.1334, allocations: 23.84 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1334, allocations: 4 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.086e-05/0.1335, allocations: 24 kB / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.1336, allocations: 15.98 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.1336, allocations: 23.75 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1338, allocations: 91.98 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1338, allocations: 0 / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1338, allocations: 4 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1338, allocations: 0 / 482.8 MB, free: 2.5 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006036/0.1344, allocations: 383.1 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.1345, allocations: 12.03 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/0.1345, allocations: 30.75 kB / 483.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.1346, allocations: 8.844 kB / 483.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.1348, allocations: 194.4 kB / 483.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.1348, allocations: 384 / 483.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1349, allocations: 8.375 kB / 483.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.135, allocations: 49.56 kB / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.135, allocations: 0 / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1351, allocations: 4 kB / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1351, allocations: 0 / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1352, allocations: 23.97 kB / 483.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.1356, allocations: 284.8 kB / 483.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.1359, allocations: 46.5 kB / 483.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.1359, allocations: 12.86 kB / 483.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.136, allocations: 8.016 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.136, allocations: 34.56 kB / 483.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.136, allocations: 0 / 483.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006203/0.1366, allocations: 145.2 kB / 484 MB, free: 1.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.1367, allocations: 59.41 kB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.1369, allocations: 161.8 kB / 484.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.137, allocations: 29.64 kB / 484.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.137, allocations: 100.1 kB / 484.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.1371, allocations: 15.75 kB / 484.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.1371, allocations: 21.72 kB / 484.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1373, allocations: 318.8 kB / 484.7 MB, free: 376 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.28e-05/0.1374, allocations: 15.98 kB / 484.7 MB, free: 360 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.327e-05/0.1375, allocations: 20.17 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1376, allocations: 56.77 kB / 484.8 MB, free: 280 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-06/0.1376, allocations: 0 / 484.8 MB, free: 280 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001997/0.1378, allocations: 77.58 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1379, allocations: 4 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1379, allocations: 4 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1379, allocations: 0 / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/0.138, allocations: 11.98 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.138, allocations: 3.938 kB / 484.9 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.138, allocations: 7.984 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.138, allocations: 4 kB / 484.9 MB, free: 160 kB / 350.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 (5): * Single equations (assignments): 5 * 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.000131/0.1382, allocations: 121.8 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.1382, allocations: 7.906 kB / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.1385, allocations: 89.91 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1385, allocations: 0 / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.1385, allocations: 7.922 kB / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1386, allocations: 0 / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.1391, allocations: 350.5 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1391, allocations: 0 / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.1392, allocations: 11.98 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1392, allocations: 3.938 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1392, allocations: 192 / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/0.1392, allocations: 8 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1392, allocations: 3.938 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.1395, allocations: 183.3 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.1396, allocations: 77.11 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.1396, allocations: 11.94 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.1397, allocations: 3.984 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.1398, allocations: 4 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1398, allocations: 0 / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.1399, allocations: 134.8 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1399, allocations: 0 / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1402, allocations: 19.91 kB / 485.9 MB, free: 15.04 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 (5): * Single equations (assignments): 5 * 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.001968/0.1422, allocations: 1.009 MB / 487 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.1424, allocations: 55.91 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1424, allocations: 0 / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.356e-05/0.1425, allocations: 19.98 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1429, allocations: 15.98 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.1451, allocations: 1.46 MB / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.1456, allocations: 0.6963 MB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.89e-05/0.1457, allocations: 16.06 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.317e-05/0.1458, allocations: 27.42 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1458, allocations: 0 / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06726/0.2131, allocations: 2.513 MB / 491.8 MB, free: 9.297 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.085, allocations: 18.58 kB / 491.8 MB, free: 9.289 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1)