Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001503/0.001503, 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.001581/0.001581, 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.432/1.432, 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.2313/0.2313, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.002248/0.002249, allocations: 86.94 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1271, allocations: 62.46 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003349/0.1305, allocations: 1.592 MB / 481.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1315, allocations: 0.53 MB / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.1316, allocations: 3.938 kB / 482.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.1318, allocations: 19.86 kB / 482.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.1321, allocations: 83.61 kB / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.1324, allocations: 118.8 kB / 482.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.1326, allocations: 55.91 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1327, allocations: 12 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.71e-05/0.1328, allocations: 31.78 kB / 482.7 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.1329, allocations: 27.8 kB / 482.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1329, allocations: 0 / 482.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.674e-05/0.133, allocations: 32 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.133, allocations: 11.98 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/0.1331, allocations: 31.8 kB / 482.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.1333, allocations: 76.06 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1333, allocations: 0 / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1333, allocations: 4 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1333, 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.0005663/0.1339, allocations: 387 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1339, allocations: 8.031 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.134, allocations: 38.75 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.134, allocations: 4.844 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1343, allocations: 203 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1343, allocations: 384 / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.1343, allocations: 384 / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1345, allocations: 53.62 kB / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1345, allocations: 0 / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.1345, allocations: 0 / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1345, allocations: 4 kB / 483.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.1346, allocations: 31.91 kB / 483.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.1351, allocations: 280.9 kB / 483.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.1353, allocations: 38.56 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.866e-05/0.1354, allocations: 20.94 kB / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1354, allocations: 0 / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.1355, allocations: 42.5 kB / 483.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.1355, allocations: 0 / 483.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005884/0.1361, allocations: 149.3 kB / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.1361, allocations: 55.34 kB / 484.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.1363, allocations: 152.2 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1363, allocations: 29.7 kB / 484.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.1364, allocations: 96.14 kB / 484.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.1364, allocations: 11.8 kB / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.1364, allocations: 17.72 kB / 484.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1366, allocations: 326.8 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.362e-05/0.1367, allocations: 19.98 kB / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.1368, allocations: 19.98 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.1369, allocations: 56.77 kB / 484.8 MB, free: 280 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1369, allocations: 4 kB / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000195/0.1371, allocations: 85.56 kB / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1371, allocations: 4 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1372, allocations: 3.938 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1372, allocations: 7.938 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.522e-05/0.1373, allocations: 11.98 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1373, allocations: 0 / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.1373, allocations: 15.92 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1373, allocations: 4.188 kB / 485 MB, free: 136 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 9.714e-05/0.1374, allocations: 117.8 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.1375, allocations: 3.906 kB / 485.1 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.1378, allocations: 102 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1378, allocations: 0 / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1378, allocations: 3.938 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1378, allocations: 8.281 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004879/0.1383, allocations: 354.4 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1383, allocations: 0 / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.1384, allocations: 11.98 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1384, allocations: 3.984 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1384, allocations: 4 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.1384, allocations: 3.938 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1384, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.1387, allocations: 191.4 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.1387, allocations: 77.11 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.1387, allocations: 0 / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.911e-05/0.1388, allocations: 11.92 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.1389, allocations: 4 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1389, allocations: 0 / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.632e-05/0.139, allocations: 125.5 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.139, allocations: 0 / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1392, allocations: 23.91 kB / 486 MB, free: 15 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.001962/0.1412, allocations: 1.013 MB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.1414, allocations: 55.95 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1414, allocations: 0 / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.079e-05/0.1415, allocations: 27.92 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1419, allocations: 27.48 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.1437, allocations: 1.446 MB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.144, allocations: 0.6963 MB / 489.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.808e-05/0.1441, allocations: 20.05 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.1441, allocations: 23.42 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1442, allocations: 0 / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.1703, allocations: 2.505 MB / 491.8 MB, free: 9.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.402/8.573, allocations: 15.61 kB / 491.8 MB, free: 9.258 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1)