Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 104.4 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.001404/0.001404, 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.435/1.435, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2291/0.2291, 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.002126/0.002126, allocations: 83.5 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1363, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003662/0.14, allocations: 1.73 MB / 481.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002638/0.1427, allocations: 1.623 MB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.448e-05/0.1428, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.1431, allocations: 35.77 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003548/0.1435, allocations: 107.5 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.1437, allocations: 79.66 kB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.1439, allocations: 115.7 kB / 483.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1441, allocations: 8 kB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1442, allocations: 51.77 kB / 484 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.1444, allocations: 51.77 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.1445, allocations: 7.938 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.1447, allocations: 103.9 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.1447, allocations: 15.92 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.946e-05/0.1448, allocations: 51.72 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.1452, allocations: 179.8 kB / 484.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1452, allocations: 4 kB / 484.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1452, allocations: 0 / 484.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1452, allocations: 0 / 484.4 MB, free: 0.9531 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006631/0.1459, allocations: 431 kB / 484.8 MB, free: 496 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1459, allocations: 11.97 kB / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.146, allocations: 34.75 kB / 484.8 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.146, allocations: 8.844 kB / 484.8 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.1463, allocations: 224.1 kB / 485.1 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1463, allocations: 384 / 485.1 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1464, allocations: 7.938 kB / 485.1 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1466, allocations: 71.39 kB / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1466, allocations: 4 kB / 485.1 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1466, allocations: 0 / 485.1 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1466, allocations: 0 / 485.1 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.841e-05/0.1467, allocations: 27.97 kB / 485.2 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.1472, allocations: 316.5 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.1474, allocations: 66.67 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.521e-05/0.1475, allocations: 24.84 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1475, allocations: 4 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.1478, allocations: 75.38 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.1478, allocations: 3.938 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006661/0.1484, allocations: 205.2 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.1485, allocations: 77.11 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.1487, allocations: 174.1 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.1488, allocations: 25.7 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.1488, allocations: 108.1 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.1489, allocations: 23.66 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.1489, allocations: 29.7 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1491, allocations: 322.8 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.054e-05/0.1492, allocations: 23.98 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-05/0.1493, allocations: 50.5 kB / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.1494, allocations: 73.67 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1494, allocations: 0 / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002305/0.1496, allocations: 113.4 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1497, allocations: 4 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1497, allocations: 8 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1497, allocations: 0 / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.1498, allocations: 16.17 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1498, allocations: 4 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.1499, allocations: 7.875 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1499, allocations: 8.031 kB / 486.9 MB, free: 14.16 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 (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 0.0001177/0.15, allocations: 129.8 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.1501, allocations: 7.906 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.989e-05/0.1501, allocations: 16.7 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1501, allocations: 4 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1501, allocations: 0 / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1501, allocations: 3.938 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.1507, allocations: 423.2 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1507, allocations: 0 / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.1508, allocations: 8 kB / 487.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.1508, allocations: 7.938 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1508, allocations: 3.984 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1508, allocations: 0 / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1508, allocations: 4 kB / 487.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.1511, allocations: 212.3 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.1512, allocations: 85.02 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.1512, allocations: 15.92 kB / 487.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.1513, allocations: 0 / 487.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.1513, allocations: 4 kB / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.1514, allocations: 7.984 kB / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.1515, allocations: 131.2 kB / 487.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1515, allocations: 0 / 487.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003218/0.1518, allocations: 51.98 kB / 488 MB, free: 12.96 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 (9): * Single equations (assignments): 7 * 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.002487/0.1543, allocations: 1.203 MB / 489.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.1546, allocations: 71.91 kB / 489.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1546, allocations: 0 / 489.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.959e-05/0.1547, allocations: 35.92 kB / 489.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1551, allocations: 44.56 kB / 489.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.1571, allocations: 1.646 MB / 491 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.1574, allocations: 0.7045 MB / 491.7 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.424e-05/0.1575, allocations: 24.78 kB / 491.7 MB, free: 9.281 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.1576, allocations: 35.41 kB / 491.7 MB, free: 9.246 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1576, allocations: 0 / 491.7 MB, free: 9.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.1858, allocations: 4.097 MB / 495.8 MB, free: 5.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.445/8.631, allocations: 11.92 kB / 495.9 MB, free: 5.223 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1)