Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, 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.001309/0.001309, 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.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2356/0.2356, allocations: 46.1 MB / 344.2 MB, free: 11.58 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.002449/0.002449, allocations: 81.2 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1303, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003838/0.1342, allocations: 1.62 MB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1354, allocations: 0.5416 MB / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.1355, allocations: 4 kB / 482.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.1358, allocations: 91.73 kB / 482.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.1362, allocations: 115.6 kB / 482.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.1366, allocations: 114.8 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.1368, allocations: 75.89 kB / 482.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.137, allocations: 27.97 kB / 482.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.1371, allocations: 35.8 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.1372, allocations: 55.81 kB / 482.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.1373, allocations: 4 kB / 482.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.1374, allocations: 43.98 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.843e-05/0.1375, allocations: 19.92 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.197e-05/0.1375, allocations: 43.66 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.1378, allocations: 99.98 kB / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1378, allocations: 8 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1378, allocations: 0 / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.086e-06/0.1379, allocations: 0 / 483.1 MB, free: 2.254 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.0006952/0.1386, allocations: 426.8 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.1386, allocations: 12.03 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.598e-05/0.1387, allocations: 34.75 kB / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/0.1387, allocations: 16.69 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.1391, allocations: 200.1 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1391, allocations: 384 / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.1391, allocations: 8.375 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.1393, allocations: 61.59 kB / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1394, allocations: 0 / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1394, allocations: 0 / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1394, allocations: 0 / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.1395, allocations: 31.91 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.1401, allocations: 312.7 kB / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.1402, allocations: 42.56 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/0.1403, allocations: 20.94 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.1403, allocations: 3.938 kB / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.1404, allocations: 34.56 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.1404, allocations: 0 / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001138/0.1415, allocations: 248.9 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.1416, allocations: 51.48 kB / 484.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.142, allocations: 231.1 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.142, allocations: 25.7 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1421, allocations: 116.1 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.1422, allocations: 31.55 kB / 485 MB, free: 180 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.1422, allocations: 21.72 kB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.1424, allocations: 326.8 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.542e-05/0.1425, allocations: 27.97 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.159e-05/0.1426, allocations: 27.98 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1428, allocations: 84.75 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1428, allocations: 3.938 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002447/0.1431, allocations: 113.8 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1431, allocations: 4 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1431, allocations: 0 / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1431, allocations: 0 / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1433, allocations: 19.98 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1433, allocations: 3.938 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.1433, allocations: 8 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1434, allocations: 3.984 kB / 485.6 MB, free: 15.52 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.0001316/0.1435, allocations: 129.8 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.1436, allocations: 19.8 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.1439, allocations: 127 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1439, allocations: 0 / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1439, allocations: 3.938 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1439, allocations: 4 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006085/0.1445, allocations: 431.2 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1445, allocations: 3.938 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/0.1446, allocations: 15.94 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.1446, allocations: 7.984 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1447, allocations: 32 / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1447, allocations: 7.938 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1447, allocations: 0 / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.145, allocations: 212.3 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/0.1451, allocations: 92.86 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.1451, allocations: 11.98 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.1452, allocations: 8 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.1452, allocations: 7.984 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1452, allocations: 0 / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.1454, allocations: 180.3 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1454, allocations: 0 / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1457, allocations: 23.98 kB / 486.9 MB, free: 14.15 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.002335/0.148, allocations: 1.094 MB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.1483, allocations: 79.88 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1483, allocations: 0 / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.1484, allocations: 43.91 kB / 488.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.1488, allocations: 21.42 kB / 488.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.1511, allocations: 1.743 MB / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.1515, allocations: 0.7158 MB / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.337e-05/0.1516, allocations: 20.91 kB / 490.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/0.1516, allocations: 39.42 kB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1516, allocations: 0 / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.1777, allocations: 3.178 MB / 493.8 MB, free: 7.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.316/8.494, allocations: 5.016 kB / 493.8 MB, free: 7.309 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1)