Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001447/0.001447, 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.001618/0.001619, 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.513/1.513, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2443/0.2443, allocations: 46.1 MB / 344.2 MB, free: 11.6 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.002373/0.002373, allocations: 85.05 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1324, allocations: 62.45 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.004318/0.1367, allocations: 1.829 MB / 482 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.1394, allocations: 1.095 MB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.1396, allocations: 0 / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000578/0.1402, allocations: 295.3 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005598/0.1408, allocations: 251.2 kB / 483.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.1411, allocations: 111.6 kB / 483.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003874/0.1415, allocations: 255.4 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.114e-05/0.1416, allocations: 13.67 kB / 484.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.1418, allocations: 135.4 kB / 484.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.1421, allocations: 196 kB / 484.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.1421, allocations: 8 kB / 484.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.1423, allocations: 51.92 kB / 484.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.1424, allocations: 128.5 kB / 484.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.1426, allocations: 142.8 kB / 484.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.143, allocations: 363 kB / 485.1 MB, free: 304 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1431, allocations: 4 kB / 485.1 MB, free: 300 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1431, allocations: 0 / 485.1 MB, free: 300 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.1431, allocations: 0 / 485.1 MB, free: 300 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001082/0.1442, allocations: 0.7307 MB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1442, allocations: 12.03 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.1443, allocations: 30.75 kB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.789e-05/0.1444, allocations: 48.28 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006575/0.145, allocations: 447.8 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.1451, allocations: 8.375 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.1451, allocations: 7.938 kB / 486.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.1453, allocations: 95.28 kB / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1454, allocations: 0 / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1454, allocations: 0 / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1454, allocations: 0 / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1455, allocations: 31.97 kB / 486.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.146, allocations: 378.4 kB / 486.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.1463, allocations: 109.1 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.1464, allocations: 37.7 kB / 487 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1464, allocations: 0 / 487 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003479/0.1468, allocations: 117 kB / 487.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 3.506e-06/0.1468, allocations: 0 / 487.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005392/0.1474, allocations: 200.9 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.1474, allocations: 77.11 kB / 487.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.1486, allocations: 1.022 MB / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.1487, allocations: 33.7 kB / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.1489, allocations: 236.1 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/0.1489, allocations: 23.66 kB / 488.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.149, allocations: 37.7 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.1492, allocations: 362.8 kB / 489.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-05/0.1493, allocations: 31.92 kB / 489.1 MB, free: 12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1494, allocations: 63.34 kB / 489.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.1496, allocations: 87.42 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1496, allocations: 3.938 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000322/0.15, allocations: 169.4 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.15, allocations: 4 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.15, allocations: 4 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.15, allocations: 4.062 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.1502, allocations: 28.05 kB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1502, allocations: 0 / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.1503, allocations: 11.91 kB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1503, allocations: 7.938 kB / 489.5 MB, free: 11.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002393/0.1505, allocations: 225.7 kB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.197e-05/0.1506, allocations: 47.42 kB / 489.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.03e-05/0.1507, allocations: 60.09 kB / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1507, allocations: 4 kB / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1507, allocations: 0 / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1507, allocations: 4 kB / 489.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/0.1511, allocations: 349.2 kB / 490.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1511, allocations: 0 / 490.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.366e-05/0.1512, allocations: 11.98 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1512, allocations: 0 / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1512, allocations: 4 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1512, allocations: 0 / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1512, allocations: 3.938 kB / 490.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.1516, allocations: 205.2 kB / 490.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.1517, allocations: 132.5 kB / 490.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.1518, allocations: 11.92 kB / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.792e-05/0.1519, allocations: 7.938 kB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.1519, allocations: 11.98 kB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.1519, allocations: 4 kB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008524/0.1528, allocations: 0.7643 MB / 491.3 MB, free: 9.664 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1528, allocations: 0 / 491.3 MB, free: 9.664 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1531, allocations: 43.98 kB / 491.3 MB, free: 9.621 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002033/0.1551, allocations: 1.045 MB / 492.4 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.1554, allocations: 83.89 kB / 492.5 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1554, allocations: 0 / 492.5 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.1555, allocations: 47.91 kB / 492.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.156, allocations: 65.27 kB / 492.6 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005964/0.1619, allocations: 4.593 MB / 497.2 MB, free: 3.797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.1625, allocations: 0.8427 MB / 498 MB, free: 2.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.1627, allocations: 62.92 kB / 498.1 MB, free: 2.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.1629, allocations: 143.4 kB / 498.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of SimCode: time 1.282e-06/0.1629, allocations: 4 kB / 498.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03612/0.1991, allocations: 8.755 MB / 0.4951 GB, free: 10.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/8.391, allocations: 18.5 kB / 0.4951 GB, free: 10.04 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)