Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_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.001389/0.001389, 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.001435/0.001435, 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.532/1.532, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2611/0.2611, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.002256/0.002256, allocations: 86.73 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1335, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002875/0.1364, allocations: 1.732 MB / 481.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.138, allocations: 1.017 MB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.1381, allocations: 3.938 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.1384, allocations: 47.81 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.1386, allocations: 95.53 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.1388, allocations: 75.69 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.139, allocations: 107.7 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.476e-05/0.1391, allocations: 8 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.911e-05/0.1392, allocations: 43.8 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.796e-05/0.1392, allocations: 35.78 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1393, allocations: 4 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.701e-05/0.1394, allocations: 43.98 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.71e-05/0.1394, allocations: 23.86 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.806e-05/0.1395, allocations: 39.72 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.1397, allocations: 119.9 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1397, allocations: 0 / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1397, allocations: 0 / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1397, allocations: 0 / 483.6 MB, free: 1.73 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005158/0.1402, allocations: 426.9 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1403, allocations: 8.031 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.1403, allocations: 30.75 kB / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.1403, allocations: 20.73 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.1406, allocations: 212 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1406, allocations: 4.359 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.1406, allocations: 7.938 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.1408, allocations: 53.67 kB / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1408, allocations: 0 / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.1408, allocations: 0 / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1408, allocations: 7.984 kB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.128e-05/0.1409, allocations: 23.98 kB / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.1413, allocations: 296.8 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.1414, allocations: 54.67 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.299e-05/0.1415, allocations: 24.86 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1415, allocations: 0 / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.1417, allocations: 63.39 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1417, allocations: 3.938 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005032/0.1422, allocations: 181.1 kB / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.1423, allocations: 51.41 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.1425, allocations: 214.2 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.1425, allocations: 33.7 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.1426, allocations: 100.1 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.1426, allocations: 19.72 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.1427, allocations: 29.7 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1428, allocations: 326.8 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.553e-05/0.1429, allocations: 20 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/0.1429, allocations: 33.7 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.143, allocations: 61.69 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1431, allocations: 3.938 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001813/0.1432, allocations: 101.5 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1433, allocations: 7.984 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1433, allocations: 0 / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1433, allocations: 4 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.193e-05/0.1434, allocations: 15.94 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.1434, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.1434, allocations: 15.91 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1435, allocations: 7.984 kB / 486 MB, free: 15.07 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.414e-05/0.1436, allocations: 121.8 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.1436, allocations: 11.91 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.1436, allocations: 17.39 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1436, allocations: 0 / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1436, allocations: 0 / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1437, allocations: 3.938 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.1441, allocations: 407.4 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1441, allocations: 0 / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.1441, allocations: 12 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1442, allocations: 3.938 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.1442, allocations: 192 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.1442, allocations: 4 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1442, allocations: 4.016 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.1444, allocations: 204.2 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.1445, allocations: 96.91 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1445, allocations: 3.938 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.1446, allocations: 4.375 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.1446, allocations: 3.984 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.1446, allocations: 8 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.1448, allocations: 160.8 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1448, allocations: 4 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.145, allocations: 20 kB / 487.1 MB, free: 13.89 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002009/0.147, allocations: 1.092 MB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.1472, allocations: 59.92 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1472, allocations: 0 / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.575e-05/0.1473, allocations: 35.92 kB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.1477, allocations: 38.31 kB / 488.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.1496, allocations: 1.683 MB / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.1499, allocations: 0.7119 MB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.664e-05/0.15, allocations: 24.52 kB / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.1501, allocations: 35.42 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1501, allocations: 0 / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.1759, allocations: 3.432 MB / 494.2 MB, free: 6.891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.222, allocations: 15.73 kB / 494.2 MB, free: 6.879 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)