Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.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.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001528/0.001528, allocations: 212.6 kB / 18.58 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2295/0.2295, 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.002174/0.002174, allocations: 74.09 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1217, allocations: 62.46 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003879/0.1256, allocations: 1.596 MB / 481.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.1278, allocations: 1.163 MB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.1279, allocations: 0 / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.1281, allocations: 27.84 kB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.1285, allocations: 87.62 kB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.1289, allocations: 106.9 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.129, allocations: 71.81 kB / 483.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1291, allocations: 16 kB / 483.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.285e-05/0.1292, allocations: 27.86 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.1294, allocations: 35.84 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.1295, allocations: 4 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.1297, allocations: 95.86 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.1298, allocations: 11.94 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/0.1298, allocations: 27.84 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.1302, allocations: 132 kB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1302, allocations: 0 / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1302, allocations: 0 / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1302, allocations: 4 kB / 483.6 MB, free: 1.738 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.0006954/0.1309, allocations: 407.1 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.131, allocations: 8.031 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.773e-05/0.131, allocations: 34.75 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.1311, allocations: 8.844 kB / 484.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.1314, allocations: 196.2 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1314, allocations: 384 / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1314, allocations: 384 / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.1316, allocations: 75.33 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1316, allocations: 0 / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1317, allocations: 0 / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1317, allocations: 0 / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.343e-05/0.1318, allocations: 23.92 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.1322, allocations: 284.9 kB / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.1324, allocations: 50.55 kB / 484.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.1325, allocations: 16.86 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.1325, allocations: 3.938 kB / 484.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.1325, allocations: 34.64 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1325, allocations: 0 / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006054/0.1332, allocations: 157.3 kB / 484.9 MB, free: 288 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.1332, allocations: 89.03 kB / 485 MB, free: 180 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1334, allocations: 144.5 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.1334, allocations: 25.7 kB / 485.1 MB, free: 16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.1335, allocations: 92.14 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.1336, allocations: 19.7 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.1336, allocations: 21.66 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1338, allocations: 326.8 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.1338, allocations: 19.98 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.693e-05/0.1339, allocations: 37.7 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.1341, allocations: 48.81 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1341, allocations: 0 / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000212/0.1343, allocations: 93.83 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1344, allocations: 4 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1344, allocations: 0 / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1344, allocations: 0 / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.1345, allocations: 15.98 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1345, allocations: 0 / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.566e-05/0.1345, allocations: 15.83 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1345, allocations: 4 kB / 485.8 MB, free: 15.28 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 (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 9.754e-05/0.1347, allocations: 117.8 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.1347, allocations: 4 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.135, allocations: 113.7 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.135, allocations: 0 / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.135, allocations: 0 / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.135, allocations: 3.938 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.1355, allocations: 354.5 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1355, allocations: 0 / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/0.1356, allocations: 19.92 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1356, allocations: 0 / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1356, allocations: 3.938 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1356, allocations: 0 / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1356, allocations: 0 / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.1359, allocations: 187.4 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.136, allocations: 81.11 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.136, allocations: 4.188 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.872e-05/0.1361, allocations: 15.92 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.1361, allocations: 4 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.1361, allocations: 4 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1363, allocations: 113.6 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1363, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.1366, allocations: 40 kB / 486.9 MB, free: 14.12 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.00221/0.1388, allocations: 1.094 MB / 488 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.139, allocations: 55.89 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.139, allocations: 4 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.91e-05/0.1391, allocations: 31.92 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.1395, allocations: 25.36 kB / 488.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.1413, allocations: 1.433 MB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1417, allocations: 0.6924 MB / 490.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.665e-05/0.1418, allocations: 20.05 kB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.1418, allocations: 35.36 kB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1418, allocations: 0 / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.1688, allocations: 3.168 MB / 493.4 MB, free: 7.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/8.34, allocations: 12.12 kB / 493.4 MB, free: 7.676 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1)