Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001432, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, 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.2471/0.2471, 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.002406/0.002406, allocations: 80.98 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1297, allocations: 62.45 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003349/0.1331, allocations: 1.651 MB / 481.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1342, allocations: 0.5416 MB / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.918e-05/0.1343, allocations: 0 / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.1347, allocations: 99.67 kB / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.135, allocations: 115.6 kB / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.1354, allocations: 95.69 kB / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.1356, allocations: 91.81 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.1357, allocations: 24.27 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.913e-05/0.1358, allocations: 51.77 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.136, allocations: 59.81 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.136, allocations: 4 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1361, allocations: 43.98 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.09e-05/0.1362, allocations: 31.91 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.1363, allocations: 39.69 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.1365, allocations: 127.5 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.1365, allocations: 4 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1365, allocations: 0 / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.1366, allocations: 7.938 kB / 483.2 MB, free: 2.125 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006535/0.1372, allocations: 426.8 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1373, allocations: 12.03 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.77e-05/0.1373, allocations: 38.73 kB / 483.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.1374, allocations: 16.75 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.1376, allocations: 208 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1377, allocations: 12.38 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.1377, allocations: 4.375 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1379, allocations: 73.59 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1379, allocations: 0 / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1379, allocations: 3.938 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1379, allocations: 0 / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.138, allocations: 39.97 kB / 484 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.1385, allocations: 336.6 kB / 484.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.1386, allocations: 66.48 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.1387, allocations: 20.84 kB / 484.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1387, allocations: 4.156 kB / 484.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.1388, allocations: 34.55 kB / 484.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.1388, allocations: 4 kB / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001068/0.1399, allocations: 308.5 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1399, allocations: 55.39 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.1402, allocations: 248.2 kB / 485 MB, free: 56 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1402, allocations: 25.7 kB / 485.1 MB, free: 24 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.1403, allocations: 112 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.1404, allocations: 43.44 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.1404, allocations: 25.72 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1406, allocations: 330.8 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.1407, allocations: 31.98 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.291e-05/0.1408, allocations: 47.97 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.141, allocations: 88.83 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.141, allocations: 0 / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002605/0.1413, allocations: 129.5 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1413, allocations: 8 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.1413, allocations: 240 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1413, allocations: 3.938 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1414, allocations: 35.92 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.1415, allocations: 7.984 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.1415, allocations: 3.984 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1415, allocations: 4.109 kB / 485.9 MB, free: 15.14 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 (13): * Single equations (assignments): 13 * 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.0001184/0.1417, allocations: 137.7 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.1417, allocations: 15.8 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.1421, allocations: 176.7 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1421, allocations: 7.938 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1421, allocations: 0 / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1421, allocations: 0 / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006338/0.1427, allocations: 479 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1428, allocations: 4.031 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-05/0.1429, allocations: 27.92 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1429, allocations: 0 / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1429, allocations: 4 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1429, allocations: 0 / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1429, allocations: 0 / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.1432, allocations: 248 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.1433, allocations: 88.92 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1433, allocations: 8 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.1434, allocations: 4 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.1435, allocations: 11.98 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.1435, allocations: 4 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.1436, allocations: 185.1 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1437, allocations: 0 / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1439, allocations: 28 kB / 487.3 MB, free: 13.63 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 (13): * Single equations (assignments): 13 * 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.002174/0.1461, allocations: 1.117 MB / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.1464, allocations: 103.8 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1464, allocations: 0 / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.1465, allocations: 51.91 kB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.1469, allocations: 29.11 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.1492, allocations: 1.838 MB / 490.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1496, allocations: 0.7158 MB / 491.2 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.263e-05/0.1497, allocations: 24.53 kB / 491.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.925e-05/0.1497, allocations: 51.3 kB / 491.3 MB, free: 9.738 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1498, allocations: 0 / 491.3 MB, free: 9.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.1757, allocations: 3.437 MB / 494.7 MB, free: 6.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.236, allocations: 9.047 kB / 494.7 MB, free: 6.363 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1)