Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001743/0.001743, allocations: 104.1 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.002075/0.002075, 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.522/1.522, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2213/0.2213, allocations: 46.11 MB / 344.2 MB, free: 11.53 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.003108/0.003109, allocations: 81.36 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1356, allocations: 62.45 MB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.00343/0.139, allocations: 1.647 MB / 481.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1401, allocations: 0.5572 MB / 482.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.002e-05/0.1402, allocations: 0 / 482.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.1406, allocations: 35.77 kB / 482.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.1409, allocations: 83.61 kB / 482.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.1413, allocations: 118.8 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.1415, allocations: 83.83 kB / 482.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1416, allocations: 32.27 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.87e-05/0.1417, allocations: 39.78 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.448e-05/0.1418, allocations: 31.84 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1418, allocations: 8 kB / 482.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1419, allocations: 43.98 kB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.71e-05/0.142, allocations: 23.92 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.142, allocations: 39.73 kB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.1422, allocations: 111.6 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1422, allocations: 0 / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1422, allocations: 0 / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1423, allocations: 0 / 483.1 MB, free: 2.242 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005147/0.1428, allocations: 407.1 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1428, allocations: 12.03 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.1429, allocations: 38.69 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.1429, allocations: 12.84 kB / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.1432, allocations: 198.2 kB / 483.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1432, allocations: 12.38 kB / 483.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.1432, allocations: 8.359 kB / 483.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.1434, allocations: 77.55 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1434, allocations: 0 / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1434, allocations: 4 kB / 483.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1434, allocations: 0 / 483.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.1436, allocations: 47.89 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004998/0.1441, allocations: 336.6 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.1442, allocations: 70.48 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.393e-05/0.1443, allocations: 24.84 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.1443, allocations: 8.141 kB / 484.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.1444, allocations: 34.56 kB / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1444, allocations: 0 / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001141/0.1455, allocations: 323.4 kB / 484.6 MB, free: 500 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1456, allocations: 55.41 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.1458, allocations: 168.7 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1458, allocations: 33.64 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.1459, allocations: 96.14 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.444e-05/0.1459, allocations: 47.28 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.146, allocations: 29.7 kB / 485.1 MB, free: 32 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1462, allocations: 326.8 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.1463, allocations: 44.09 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.1464, allocations: 51.97 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.1467, allocations: 104.8 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1467, allocations: 0 / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003069/0.147, allocations: 156.9 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.147, allocations: 4 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.147, allocations: 7.984 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.147, allocations: 0 / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1472, allocations: 31.92 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1472, allocations: 3.938 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.1472, allocations: 8 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.1473, allocations: 4 kB / 485.8 MB, free: 15.29 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.0001029/0.1474, allocations: 125.8 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.1474, allocations: 15.75 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.1478, allocations: 191 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.1478, allocations: 4 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1478, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1479, allocations: 7.969 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007186/0.1486, allocations: 495.1 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1486, allocations: 0 / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.776e-05/0.1487, allocations: 27.92 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1487, allocations: 0 / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1487, allocations: 8 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1487, allocations: 0 / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.1487, allocations: 0 / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.1491, allocations: 264.2 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.1492, allocations: 81.02 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.1492, allocations: 4 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.1493, allocations: 11.98 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.1493, allocations: 4 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.1494, allocations: 11.92 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.1495, allocations: 130.8 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1495, allocations: 0 / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1497, allocations: 32 kB / 487.2 MB, free: 13.8 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.002153/0.1519, allocations: 1.12 MB / 488.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.1522, allocations: 123.1 kB / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1522, allocations: 0 / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.1524, allocations: 63.97 kB / 488.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.1528, allocations: 26.11 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.155, allocations: 1.735 MB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1553, allocations: 0.7118 MB / 490.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.541e-05/0.1554, allocations: 28.53 kB / 491 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/0.1555, allocations: 39.42 kB / 491 MB, free: 9.977 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1555, allocations: 0 / 491 MB, free: 9.977 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.1782, allocations: 3.193 MB / 494.2 MB, free: 6.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.296/8.475, allocations: 19.92 kB / 494.2 MB, free: 6.84 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1)