Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_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.001273/0.001273, 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.001458/0.001458, 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.437/1.437, 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.2237/0.2237, allocations: 46.11 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.002269/0.002269, allocations: 82.52 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1182, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003133/0.1214, allocations: 1.599 MB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.1232, allocations: 1.163 MB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.1233, allocations: 0 / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.1236, allocations: 19.86 kB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.1239, allocations: 83.61 kB / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1241, allocations: 98.81 kB / 483.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.1243, allocations: 59.91 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.714e-05/0.1244, allocations: 12 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.967e-05/0.1244, allocations: 27.8 kB / 483.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01482/0.1393, allocations: 39.83 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.1393, allocations: 4 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.1396, allocations: 95.94 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.666e-05/0.1397, allocations: 15.88 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.1397, allocations: 31.84 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.14, allocations: 128 kB / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.14, allocations: 0 / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.14, allocations: 0 / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.1401, allocations: 4 kB / 483.6 MB, free: 1.758 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.0005322/0.1406, allocations: 403.1 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1406, allocations: 8.031 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.355e-05/0.1407, allocations: 34.75 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.1407, allocations: 8.844 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.141, allocations: 208.1 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-06/0.141, allocations: 384 / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.141, allocations: 384 / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1412, allocations: 67.33 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1412, allocations: 4 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1412, allocations: 0 / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1412, allocations: 0 / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.709e-05/0.1413, allocations: 19.98 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.1417, allocations: 288.8 kB / 484.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1419, allocations: 42.55 kB / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.1419, allocations: 12.86 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1419, allocations: 4.078 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.142, allocations: 38.56 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.945e-06/0.142, allocations: 0 / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005486/0.1426, allocations: 141.2 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.1426, allocations: 81.05 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.1428, allocations: 145.8 kB / 485.1 MB, free: 72 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1428, allocations: 29.7 kB / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.1429, allocations: 96.12 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.1429, allocations: 19.72 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.143, allocations: 17.7 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1431, allocations: 322.8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.366e-05/0.1432, allocations: 16.05 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.837e-05/0.1433, allocations: 37.69 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.1434, allocations: 48.88 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1434, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001831/0.1436, allocations: 77.66 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1436, allocations: 4 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1436, allocations: 3.938 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1437, allocations: 4 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.39e-05/0.1437, allocations: 11.98 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.1437, allocations: 4 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/0.1438, allocations: 11.84 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1438, allocations: 0 / 485.7 MB, free: 15.34 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 8.668e-05/0.1439, allocations: 113.8 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.1439, allocations: 4 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.1442, allocations: 101.8 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1442, allocations: 0 / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1442, allocations: 7.938 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.1442, allocations: 7.938 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.1447, allocations: 346.5 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.1447, allocations: 320 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/0.1447, allocations: 19.92 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1448, allocations: 0 / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1448, allocations: 3.938 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1448, allocations: 4 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1448, allocations: 4 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.145, allocations: 179.4 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.1451, allocations: 81.11 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.1451, allocations: 3.938 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.1452, allocations: 11.92 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.1452, allocations: 4 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1453, allocations: 4 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1454, allocations: 117.8 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1454, allocations: 0 / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1457, allocations: 32 kB / 486.8 MB, free: 14.21 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.002111/0.1478, allocations: 1.091 MB / 487.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.148, allocations: 51.91 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.148, allocations: 3.938 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.782e-05/0.1481, allocations: 27.92 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1485, allocations: 23.08 kB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.1502, allocations: 1.405 MB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.1505, allocations: 0.6885 MB / 490.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.018e-05/0.1506, allocations: 20.22 kB / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.1507, allocations: 35.41 kB / 490.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1507, allocations: 0 / 490.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.1775, allocations: 3.134 MB / 493.2 MB, free: 7.848 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/8.265, allocations: 9.047 kB / 493.2 MB, free: 7.84 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1)