Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 120.1 kB / 18.49 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002294/0.002294, allocations: 215 kB / 21.45 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 254.8 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2241/0.2241, allocations: 46.92 MB / 357.8 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.89 kB / 0.4917 GB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1335, allocations: 65.99 MB / 0.5561 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003243/0.1367, allocations: 1.831 MB / 0.5579 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.1386, allocations: 1.113 MB / 0.559 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.907e-05/0.1387, allocations: 0 / 0.559 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000515/0.1392, allocations: 311.2 kB / 0.5593 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.1397, allocations: 263.2 kB / 0.5595 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.1399, allocations: 99.69 kB / 0.5596 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.1402, allocations: 271.2 kB / 0.5599 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.1403, allocations: 13.69 kB / 0.5599 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.1405, allocations: 139.5 kB / 0.56 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.1407, allocations: 215.5 kB / 0.5602 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.1408, allocations: 8 kB / 0.5603 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1409, allocations: 47.92 kB / 0.5603 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.141, allocations: 135.6 kB / 0.5604 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.1412, allocations: 146.8 kB / 0.5606 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004684/0.1416, allocations: 386.2 kB / 0.5609 GB, free: 0.832 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1416, allocations: 0 / 0.5609 GB, free: 0.832 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.145e-06/0.1416, allocations: 0 / 0.5609 GB, free: 0.832 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.1416, allocations: 3.938 kB / 0.5609 GB, free: 0.8281 MB / 414.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.001145/0.1428, allocations: 0.7616 MB / 0.5617 GB, free: 16 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1428, allocations: 12.03 kB / 0.5617 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.573e-05/0.1429, allocations: 192 / 0.5617 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.935e-05/0.1429, allocations: 38.73 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.019e-05/0.143, allocations: 52.61 kB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007086/0.1437, allocations: 456.3 kB / 0.5622 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.1437, allocations: 16.06 kB / 0.5622 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1438, allocations: 4 kB / 0.5622 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.144, allocations: 83.34 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.144, allocations: 4 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.144, allocations: 4 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.144, allocations: 0 / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.1442, allocations: 23.98 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.1446, allocations: 394.3 kB / 0.5627 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.1449, allocations: 97.17 kB / 0.5628 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.1451, allocations: 37.7 kB / 0.5629 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1451, allocations: 4 kB / 0.5629 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.1453, allocations: 109 kB / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.1453, allocations: 0 / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005374/0.1459, allocations: 197.2 kB / 0.5631 GB, free: 14.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.1459, allocations: 89.11 kB / 0.5632 GB, free: 14.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.1472, allocations: 1.046 MB / 0.5643 GB, free: 13.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.1472, allocations: 33.7 kB / 0.5643 GB, free: 13.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.1474, allocations: 236.1 kB / 0.5645 GB, free: 12.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.1474, allocations: 35.67 kB / 0.5645 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.1475, allocations: 33.7 kB / 0.5646 GB, free: 12.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1477, allocations: 362.8 kB / 0.5649 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/0.1478, allocations: 31.92 kB / 0.565 GB, free: 12.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1479, allocations: 63.41 kB / 0.565 GB, free: 12.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.1481, allocations: 99.73 kB / 0.5651 GB, free: 12.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1481, allocations: 0 / 0.5651 GB, free: 12.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003181/0.1484, allocations: 173.2 kB / 0.5653 GB, free: 12.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.1484, allocations: 9.719 kB / 0.5653 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1484, allocations: 0 / 0.5653 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1484, allocations: 0 / 0.5653 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1485, allocations: 23.98 kB / 0.5653 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1486, allocations: 3.938 kB / 0.5653 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.682e-05/0.1487, allocations: 11.94 kB / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.1487, allocations: 4 kB / 0.5653 GB, free: 12.04 MB / 430.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.0002454/0.1489, allocations: 232 kB / 0.5655 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/0.149, allocations: 55.62 kB / 0.5656 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.983e-05/0.1491, allocations: 60.14 kB / 0.5657 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1491, allocations: 0 / 0.5657 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1491, allocations: 4 kB / 0.5657 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1491, allocations: 0 / 0.5657 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.1495, allocations: 345.4 kB / 0.566 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1495, allocations: 0 / 0.566 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.1495, allocations: 12 kB / 0.566 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1495, allocations: 3.938 kB / 0.566 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1495, allocations: 4 kB / 0.566 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1495, allocations: 4 kB / 0.566 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1495, allocations: 0 / 0.566 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.1499, allocations: 209.6 kB / 0.5662 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.1501, allocations: 144.8 kB / 0.5664 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/0.1501, allocations: 8 kB / 0.5664 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.1502, allocations: 4 kB / 0.5664 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.1503, allocations: 11.98 kB / 0.5664 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.1503, allocations: 11.98 kB / 0.5664 GB, free: 10.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008849/0.1512, allocations: 0.78 MB / 0.5671 GB, free: 10.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1512, allocations: 0 / 0.5671 GB, free: 10.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.1514, allocations: 48.03 kB / 0.5672 GB, free: 10.02 MB / 430.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.002128/0.1536, allocations: 1.047 MB / 0.5682 GB, free: 9.102 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002921/0.1539, allocations: 83.91 kB / 0.5683 GB, free: 9.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1539, allocations: 0 / 0.5683 GB, free: 9.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.154, allocations: 39.86 kB / 0.5683 GB, free: 8.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.1544, allocations: 63.2 kB / 0.5684 GB, free: 8.922 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006063/0.1605, allocations: 4.578 MB / 0.5729 GB, free: 4.238 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.161, allocations: 0.8427 MB / 0.5737 GB, free: 3.367 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.1612, allocations: 58.95 kB / 0.5737 GB, free: 3.309 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.1614, allocations: 151.4 kB / 0.5739 GB, free: 3.164 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1614, allocations: 0 / 0.5739 GB, free: 3.164 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.1897, allocations: 9.201 MB / 0.5829 GB, free: 10.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.237/9.426, allocations: 11.23 kB / 0.5829 GB, free: 10.05 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.804383445007261] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.609612820029724 9.891753526 9.746992814 Calling exit ...