Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.001512/0.001512, allocations: 105.2 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.00178/0.00178, 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.451/1.451, 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.2343/0.2343, allocations: 46.12 MB / 344.2 MB, free: 11.53 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.002426/0.002426, allocations: 91.23 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1263, allocations: 62.44 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003096/0.1294, allocations: 1.62 MB / 481.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1304, allocations: 0.5611 MB / 482.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.1305, allocations: 0 / 482.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005701/0.1311, allocations: 455.1 kB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004965/0.1316, allocations: 287.3 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.1321, allocations: 165.7 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.1323, allocations: 167.7 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.041e-05/0.1324, allocations: 16 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.1325, allocations: 111.7 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.1328, allocations: 207.6 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1328, allocations: 4 kB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.566e-05/0.1329, allocations: 27.94 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.133, allocations: 87.69 kB / 483.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.491e-05/0.1331, allocations: 103 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.1334, allocations: 247 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1334, allocations: 0 / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.1334, allocations: 0 / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.1334, allocations: 0 / 484.2 MB, free: 1.074 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.0007432/0.1342, allocations: 0.6455 MB / 484.9 MB, free: 388 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1342, allocations: 11.97 kB / 484.9 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.1343, allocations: 34.73 kB / 484.9 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.608e-05/0.1343, allocations: 44.38 kB / 485 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.1347, allocations: 304.1 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.1347, allocations: 384 / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.1347, allocations: 4.375 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1348, allocations: 53.61 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.1348, allocations: 0 / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.1349, allocations: 0 / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1349, allocations: 4 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.439e-05/0.135, allocations: 19.98 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.1355, allocations: 400.6 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.1356, allocations: 30.56 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.1356, allocations: 16.92 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1357, allocations: 3.984 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1357, allocations: 30.56 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.1357, allocations: 4 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002615/0.136, allocations: 105.1 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.136, allocations: 55.39 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008643/0.1369, allocations: 0.8699 MB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1369, allocations: 29.7 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.1371, allocations: 231.9 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/0.1371, allocations: 0 / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.1372, allocations: 21.83 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1374, allocations: 362.7 kB / 487.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.286e-05/0.1374, allocations: 11.98 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.473e-05/0.1374, allocations: 8 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.431e-05/0.1375, allocations: 32.83 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1375, allocations: 0 / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001659/0.1377, allocations: 101.1 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1377, allocations: 10.66 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1378, allocations: 3.938 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1378, allocations: 0 / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.1378, allocations: 7.984 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1378, allocations: 0 / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.1379, allocations: 4 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.1379, allocations: 0 / 487.6 MB, free: 13.41 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 (2): * Single equations (assignments): 2 * 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.0001961/0.1381, allocations: 221.7 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.1382, allocations: 43.44 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.1384, allocations: 108.7 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1384, allocations: 0 / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1384, allocations: 0 / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1384, allocations: 3.938 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.1387, allocations: 289.5 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1387, allocations: 0 / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.1388, allocations: 4 kB / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1388, allocations: 8.016 kB / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.1388, allocations: 4 kB / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1388, allocations: 0 / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1388, allocations: 0 / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.139, allocations: 194.9 kB / 488.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.78e-05/0.1391, allocations: 112.5 kB / 488.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.1391, allocations: 0 / 488.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.1392, allocations: 12.03 kB / 488.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.1392, allocations: 3.938 kB / 488.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.1392, allocations: 0 / 488.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006674/0.1399, allocations: 0.6628 MB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1399, allocations: 0 / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.1402, allocations: 19.94 kB / 489.3 MB, free: 11.65 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 (2): * Single equations (assignments): 2 * 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.001592/0.1418, allocations: 0.9667 MB / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.1419, allocations: 31.92 kB / 490.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1419, allocations: 0 / 490.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.811e-05/0.142, allocations: 15.98 kB / 490.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.1423, allocations: 28.47 kB / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/0.1459, allocations: 3.21 MB / 493.6 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.1463, allocations: 0.8299 MB / 494.4 MB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.708e-05/0.1464, allocations: 12.06 kB / 494.4 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.1465, allocations: 115.4 kB / 494.5 MB, free: 6.418 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1466, allocations: 0 / 494.5 MB, free: 6.418 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2098/0.3563, allocations: 5.67 MB / 0.4885 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/8.595, allocations: 5.078 kB / 0.4885 GB, free: 0.8086 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1)