Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001233/0.001233, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 208.6 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.481/1.481, 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.239/0.239, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002153/0.002153, allocations: 76.88 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1269, allocations: 62.45 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002858/0.1297, allocations: 1.677 MB / 481.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009515/0.1307, allocations: 0.5767 MB / 482.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.1308, allocations: 3.938 kB / 482.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.131, allocations: 55.8 kB / 482.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.1312, allocations: 99.59 kB / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.1316, allocations: 174.4 kB / 482.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.1318, allocations: 87.77 kB / 482.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/0.1319, allocations: 28.2 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.031e-05/0.1319, allocations: 31.86 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.132, allocations: 43.83 kB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1321, allocations: 4 kB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.652e-05/0.1322, allocations: 51.92 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.1322, allocations: 27.92 kB / 483.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.1323, allocations: 39.72 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.1325, allocations: 115.9 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.1325, allocations: 0 / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1325, allocations: 0 / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1325, allocations: 0 / 483.2 MB, free: 2.141 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005004/0.133, allocations: 415 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.133, allocations: 12.03 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.1331, allocations: 30.75 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.1331, allocations: 12.75 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.1333, allocations: 208 kB / 483.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.1334, allocations: 8.312 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.1334, allocations: 4.375 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1335, allocations: 73.59 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1336, allocations: 0 / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.1336, allocations: 0 / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1336, allocations: 0 / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.1337, allocations: 47.94 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.1342, allocations: 332.6 kB / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.1345, allocations: 62.55 kB / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.769e-05/0.1345, allocations: 29 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.1346, allocations: 4 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1346, allocations: 38.55 kB / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1346, allocations: 0 / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001437/0.136, allocations: 433.1 kB / 484.9 MB, free: 296 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.1361, allocations: 55.41 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.1363, allocations: 190.2 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.1363, allocations: 25.7 kB / 485.2 MB, free: 16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.1364, allocations: 108 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.1364, allocations: 35.45 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.1365, allocations: 21.72 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1367, allocations: 326.8 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.1368, allocations: 55.95 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.137, allocations: 60 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.1373, allocations: 124.7 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1373, allocations: 4 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003374/0.1376, allocations: 161.5 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1376, allocations: 11.98 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1376, allocations: 0 / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1377, allocations: 3.938 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1378, allocations: 23.98 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1378, allocations: 3.938 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.169e-05/0.1379, allocations: 11.98 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1379, allocations: 4 kB / 486.1 MB, free: 15.03 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 (11): * Single equations (assignments): 11 * 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 9.944e-05/0.138, allocations: 133.8 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.138, allocations: 11.81 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000417/0.1385, allocations: 182.2 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.1385, allocations: 11.88 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1385, allocations: 3.984 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1385, allocations: 4 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006984/0.1392, allocations: 0.4922 MB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1392, allocations: 0 / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.1393, allocations: 35.91 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1393, allocations: 4.062 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1394, allocations: 4 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1394, allocations: 4 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1394, allocations: 0 / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.1398, allocations: 280.8 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.1398, allocations: 89 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1399, allocations: 0 / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.14, allocations: 16.17 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.14, allocations: 4 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/0.1401, allocations: 8 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1402, allocations: 139.2 kB / 487.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1402, allocations: 4 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1404, allocations: 24 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002142/0.1426, allocations: 1.153 MB / 488.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003474/0.1429, allocations: 139.9 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.143, allocations: 0 / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.1431, allocations: 67.89 kB / 488.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1435, allocations: 19.98 kB / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.1459, allocations: 1.883 MB / 490.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1462, allocations: 0.7196 MB / 491.5 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.359e-05/0.1463, allocations: 36.7 kB / 491.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.845e-05/0.1464, allocations: 39.5 kB / 491.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1464, allocations: 7.875 kB / 491.6 MB, free: 9.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.1798, allocations: 3.38 MB / 495 MB, free: 6.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.245, allocations: 7.266 kB / 495 MB, free: 6.129 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1)