Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001028, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 183.8 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 223.1 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3706/0.3706, allocations: 43.58 MB / 315 MB, free: 9.082 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005421/0.0005421, allocations: 20.56 kB / 384.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1392, allocations: 58.86 MB / 443.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00258/0.1419, allocations: 1.499 MB / 445.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1434, allocations: 0.8548 MB / 445.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.793e-05/0.1435, allocations: 0 / 445.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005428/0.1441, allocations: 299.4 kB / 446.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.1444, allocations: 203.5 kB / 446.4 MB, free: 9.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.1448, allocations: 131.8 kB / 446.5 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.145, allocations: 227.4 kB / 446.8 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.692e-05/0.1451, allocations: 21.52 kB / 446.8 MB, free: 9.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.1453, allocations: 119.5 kB / 446.9 MB, free: 9.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.1455, allocations: 187.5 kB / 447.1 MB, free: 9.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.1455, allocations: 4 kB / 447.1 MB, free: 9.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1456, allocations: 39.98 kB / 447.1 MB, free: 9.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.1458, allocations: 135.6 kB / 447.2 MB, free: 9.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.146, allocations: 176.5 kB / 447.4 MB, free: 8.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.1463, allocations: 354.9 kB / 447.8 MB, free: 8.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1463, allocations: 0 / 447.8 MB, free: 8.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1463, allocations: 0 / 447.8 MB, free: 8.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.1463, allocations: 0 / 447.8 MB, free: 8.547 MB / 382.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.001017/0.1474, allocations: 0.6689 MB / 448.4 MB, free: 7.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1474, allocations: 8.031 kB / 448.4 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.1475, allocations: 34.73 kB / 448.5 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.663e-05/0.1476, allocations: 52.28 kB / 448.5 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006275/0.1482, allocations: 451.8 kB / 449 MB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.1482, allocations: 8.359 kB / 449 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1483, allocations: 3.938 kB / 449 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.1485, allocations: 79.38 kB / 449.1 MB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1486, allocations: 4 kB / 449.1 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1486, allocations: 3.984 kB / 449.1 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1486, allocations: 0 / 449.1 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.1487, allocations: 31.92 kB / 449.1 MB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.1491, allocations: 386.2 kB / 449.5 MB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.1494, allocations: 101.2 kB / 449.6 MB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.844e-05/0.1495, allocations: 49.62 kB / 449.6 MB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.1495, allocations: 0 / 449.6 MB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002644/0.1498, allocations: 105.1 kB / 449.7 MB, free: 6.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 9.71e-07/0.1498, allocations: 0 / 449.7 MB, free: 6.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004792/0.1503, allocations: 197.4 kB / 449.9 MB, free: 6.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.1504, allocations: 85.09 kB / 450 MB, free: 6.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.1514, allocations: 1.03 MB / 451 MB, free: 5.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1515, allocations: 33.64 kB / 451.1 MB, free: 5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.1516, allocations: 236 kB / 451.3 MB, free: 4.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.1517, allocations: 35.62 kB / 451.3 MB, free: 4.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.1517, allocations: 17.72 kB / 451.3 MB, free: 4.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1519, allocations: 362.8 kB / 451.7 MB, free: 4.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.39e-05/0.152, allocations: 31.98 kB / 451.7 MB, free: 4.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.141e-05/0.1521, allocations: 59.41 kB / 451.8 MB, free: 4.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.1522, allocations: 91.42 kB / 451.9 MB, free: 4.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1522, allocations: 3.938 kB / 451.9 MB, free: 4.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002857/0.1525, allocations: 168.9 kB / 452 MB, free: 3.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1526, allocations: 4 kB / 452.1 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1526, allocations: 4 kB / 452.1 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1526, allocations: 0 / 452.1 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1527, allocations: 23.92 kB / 452.1 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.1527, allocations: 4 kB / 452.1 MB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.1528, allocations: 11.94 kB / 452.1 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.1529, allocations: 7.984 kB / 452.1 MB, free: 3.91 MB / 382.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.0002282/0.1531, allocations: 229.6 kB / 452.3 MB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.1532, allocations: 51.34 kB / 452.4 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.904e-05/0.1532, allocations: 63.98 kB / 452.4 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1533, allocations: 4 kB / 452.4 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1533, allocations: 0 / 452.4 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1533, allocations: 3.984 kB / 452.4 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.1536, allocations: 337.4 kB / 452.8 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1536, allocations: 0 / 452.8 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.1536, allocations: 15.92 kB / 452.8 MB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1536, allocations: 4 kB / 452.8 MB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1537, allocations: 3.938 kB / 452.8 MB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.1537, allocations: 4.125 kB / 452.8 MB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1537, allocations: 4 kB / 452.8 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.154, allocations: 205.2 kB / 453 MB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.1541, allocations: 140.4 kB / 453.1 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.1542, allocations: 4 kB / 453.1 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.279e-05/0.1543, allocations: 15.98 kB / 453.2 MB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.1543, allocations: 4 kB / 453.2 MB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.1543, allocations: 7.984 kB / 453.2 MB, free: 2.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007639/0.1551, allocations: 0.7682 MB / 453.9 MB, free: 1.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1551, allocations: 0 / 453.9 MB, free: 1.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1554, allocations: 43.98 kB / 454 MB, free: 1.926 MB / 382.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.001558/0.157, allocations: 1.056 MB / 455 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.1572, allocations: 83.89 kB / 455.1 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1572, allocations: 0 / 455.1 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1573, allocations: 44.05 kB / 455.2 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.1578, allocations: 66.27 kB / 455.2 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2206/0.3783, allocations: 4.674 MB / 459.9 MB, free: 44.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.3789, allocations: 0.8396 MB / 460.7 MB, free: 44.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002398/0.3791, allocations: 62.47 kB / 460.8 MB, free: 44.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.3794, allocations: 141.7 kB / 460.9 MB, free: 44.24 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3794, allocations: 0 / 460.9 MB, free: 44.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.3983, allocations: 8.178 MB / 469.1 MB, free: 43.66 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/0.3985, allocations: 241.3 kB / 469.4 MB, free: 43.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.32, allocations: 0 / 469.4 MB, free: 43.41 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)