Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.001401, allocations: 210.4 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.562/1.562, 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.2586/0.2586, allocations: 46.12 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.002323/0.002323, allocations: 84.98 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1307, allocations: 62.44 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003111/0.1338, allocations: 1.684 MB / 481.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1355, allocations: 1.009 MB / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.398e-05/0.1356, allocations: 4 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.1359, allocations: 59.73 kB / 483 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.1362, allocations: 107.5 kB / 483.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.1364, allocations: 71.73 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.1366, allocations: 107.7 kB / 483.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.1366, allocations: 4.234 kB / 483.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.483e-05/0.1367, allocations: 55.72 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.612e-05/0.1368, allocations: 43.83 kB / 483.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1368, allocations: 4 kB / 483.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.204e-05/0.1369, allocations: 32 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.137, allocations: 23.91 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.137, allocations: 35.73 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.1372, allocations: 99.92 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1372, allocations: 0 / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1372, allocations: 0 / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1373, allocations: 0 / 483.5 MB, free: 1.805 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005487/0.1378, allocations: 414.9 kB / 484 MB, free: 1.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1378, allocations: 8.031 kB / 484 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.957e-05/0.1379, allocations: 34.75 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.1379, allocations: 16.78 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.1382, allocations: 208.8 kB / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1382, allocations: 384 / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.1382, allocations: 3.938 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.1384, allocations: 49.67 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1384, allocations: 0 / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.1384, allocations: 4 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1384, allocations: 0 / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.511e-05/0.1385, allocations: 19.92 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.1387, allocations: 185.7 kB / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.1389, allocations: 54.56 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.1389, allocations: 20.84 kB / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.139, allocations: 4 kB / 484.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.1391, allocations: 71.23 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.1392, allocations: 0 / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002551/0.1394, allocations: 89.58 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.1395, allocations: 59.39 kB / 484.8 MB, free: 404 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.1397, allocations: 186.4 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.1397, allocations: 37.69 kB / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.1398, allocations: 100.1 kB / 485.1 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.1398, allocations: 19.73 kB / 485.1 MB, free: 40 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.1398, allocations: 17.72 kB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.14, allocations: 322.9 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.351e-05/0.14, allocations: 12 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.95e-05/0.1401, allocations: 33.64 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.899e-05/0.1402, allocations: 45.7 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1402, allocations: 7.938 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001541/0.1404, allocations: 77.53 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1404, allocations: 4 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1404, allocations: 4 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1404, allocations: 0 / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.154e-05/0.1405, allocations: 15.97 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.1405, allocations: 320 / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.1406, allocations: 8.031 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1406, allocations: 7.938 kB / 485.6 MB, free: 15.46 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 (7): * Single equations (assignments): 7 * 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.0001208/0.1407, allocations: 133.8 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.1408, allocations: 11.81 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.1408, allocations: 9 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1408, allocations: 0 / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1408, allocations: 3.938 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1408, allocations: 3.984 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.141, allocations: 193.5 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.141, allocations: 4 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.995e-05/0.141, allocations: 4 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.141, allocations: 0 / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.141, allocations: 4 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1411, allocations: 3.984 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1411, allocations: 0 / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.1412, allocations: 101 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.1413, allocations: 89 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.1413, allocations: 8 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.339e-05/0.1414, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.1414, allocations: 4 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.1414, allocations: 7.984 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.1416, allocations: 144.2 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1416, allocations: 3.938 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002163/0.1418, allocations: 27.89 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001854/0.1437, allocations: 0.9514 MB / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.1438, allocations: 39.92 kB / 487.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1438, allocations: 0 / 487.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.025e-05/0.1439, allocations: 23.98 kB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.1442, allocations: 29.09 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.1462, allocations: 1.498 MB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.1466, allocations: 0.7049 MB / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.918e-05/0.1467, allocations: 12.8 kB / 489.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.1468, allocations: 31.42 kB / 489.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1468, allocations: 0 / 489.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.1731, allocations: 3.093 MB / 492.8 MB, free: 8.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.227, allocations: 8.078 kB / 492.8 MB, free: 8.316 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)