Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.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.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, allocations: 103.5 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.001499/0.001499, 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.531/1.531, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2393/0.2393, 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.002281/0.002281, allocations: 79.73 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1275, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004163/0.1317, allocations: 2.113 MB / 482.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.1341, allocations: 1.29 MB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.1343, allocations: 4 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.1346, allocations: 47.53 kB / 483.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005709/0.1352, allocations: 219 kB / 483.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.1363, allocations: 452.4 kB / 484.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004982/0.1368, allocations: 327 kB / 484.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.137, allocations: 68.98 kB / 484.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.1373, allocations: 147.4 kB / 484.8 MB, free: 496 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.1377, allocations: 195.2 kB / 485 MB, free: 300 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.554e-05/0.1377, allocations: 16 kB / 485 MB, free: 284 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.1379, allocations: 71.95 kB / 485.1 MB, free: 212 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.1381, allocations: 139.6 kB / 485.3 MB, free: 72 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.1383, allocations: 186.6 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004551/0.1387, allocations: 414.3 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1387, allocations: 0 / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1387, allocations: 7.938 kB / 485.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.1388, allocations: 0 / 485.8 MB, free: 15.47 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001136/0.1399, allocations: 0.8239 MB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1399, allocations: 12.03 kB / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/0.14, allocations: 42.73 kB / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004308/0.1404, allocations: 100 kB / 486.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006098/0.1411, allocations: 496.3 kB / 487.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.1411, allocations: 8.375 kB / 487.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.1411, allocations: 19.94 kB / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.1414, allocations: 144.5 kB / 487.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1415, allocations: 4 kB / 487.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1415, allocations: 0 / 487.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.1415, allocations: 4 kB / 487.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.1418, allocations: 95.92 kB / 487.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.143, allocations: 0.7035 MB / 488.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.1433, allocations: 121.2 kB / 488.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.1435, allocations: 61.81 kB / 488.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.1435, allocations: 7.984 kB / 488.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.1436, allocations: 34.5 kB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.1436, allocations: 0 / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001989/0.1456, allocations: 0.6888 MB / 489.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.1456, allocations: 85.09 kB / 489.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.1469, allocations: 0.9182 MB / 490.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.147, allocations: 29.7 kB / 490.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.1473, allocations: 280.2 kB / 490.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.217e-05/0.1474, allocations: 59.11 kB / 490.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.1476, allocations: 41.69 kB / 490.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.1478, allocations: 317.9 kB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/0.1483, allocations: 91.94 kB / 491 MB, free: 10.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/0.1488, allocations: 111.6 kB / 491.1 MB, free: 9.953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000983/0.1498, allocations: 209.7 kB / 491.3 MB, free: 9.742 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1498, allocations: 0 / 491.3 MB, free: 9.742 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001299/0.1511, allocations: 304.7 kB / 491.6 MB, free: 9.438 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.1511, allocations: 7.984 kB / 491.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1512, allocations: 0 / 491.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.1512, allocations: 4 kB / 491.6 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/0.1517, allocations: 51.89 kB / 491.7 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.1518, allocations: 4 kB / 491.7 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.1521, allocations: 27.88 kB / 491.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.1522, allocations: 4 kB / 491.7 MB, free: 9.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0003921/0.1526, allocations: 217.7 kB / 491.9 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.1528, allocations: 59.25 kB / 492 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.1544, allocations: 367.3 kB / 492.3 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.1545, allocations: 4 kB / 492.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1545, allocations: 0 / 492.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1545, allocations: 0 / 492.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.1572, allocations: 0.9073 MB / 493.2 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.1572, allocations: 4 kB / 493.2 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/0.1577, allocations: 51.94 kB / 493.3 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.1578, allocations: 0 / 493.3 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.1578, allocations: 4 kB / 493.3 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.1578, allocations: 3.938 kB / 493.3 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1578, allocations: 4 kB / 493.3 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.1592, allocations: 481.8 kB / 493.8 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.1595, allocations: 160.3 kB / 493.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.815e-05/0.1596, allocations: 4 kB / 493.9 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/0.1601, allocations: 23.92 kB / 494 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.1602, allocations: 19.97 kB / 494 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.1603, allocations: 7.984 kB / 494 MB, free: 6.938 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001492/0.1618, allocations: 0.6747 MB / 494.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.1618, allocations: 0 / 494.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007251/0.1626, allocations: 67.98 kB / 494.7 MB, free: 6.199 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 (20): * Single equations (assignments): 20 * 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.004286/0.1669, allocations: 1.319 MB / 496.1 MB, free: 4.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.1681, allocations: 231.7 kB / 496.3 MB, free: 4.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1681, allocations: 0 / 496.3 MB, free: 4.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005734/0.1687, allocations: 127.8 kB / 496.4 MB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.1699, allocations: 81.16 kB / 496.5 MB, free: 4.574 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.1834, allocations: 5.487 MB / 0.4902 GB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000899/0.1843, allocations: 0.873 MB / 0.4911 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000448/0.1848, allocations: 87.22 kB / 0.4911 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000475/0.1853, allocations: 195.3 kB / 0.4913 GB, free: 13.81 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1853, allocations: 0 / 0.4913 GB, free: 13.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1442/0.3296, allocations: 10.24 MB / 0.5013 GB, free: 3.652 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.338/8.667, allocations: 5.078 kB / 0.5013 GB, free: 3.648 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1)