Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001463/0.001463, allocations: 117.9 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 230.5 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2874/0.2874, allocations: 46.93 MB / 357.7 MB, free: 10.2 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-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.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002321/0.002321, allocations: 88.05 kB / 0.4917 GB, free: 7.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1333, allocations: 66.04 MB / 0.5562 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003343/0.1367, allocations: 1.833 MB / 0.558 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.1385, allocations: 1.109 MB / 0.5591 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.441e-05/0.1386, allocations: 7.938 kB / 0.5591 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005079/0.1391, allocations: 295.3 kB / 0.5594 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004587/0.1396, allocations: 255.2 kB / 0.5596 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.1398, allocations: 99.69 kB / 0.5597 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000317/0.1401, allocations: 263.2 kB / 0.56 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.678e-05/0.1402, allocations: 13.67 kB / 0.56 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.1403, allocations: 135.5 kB / 0.5601 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.1406, allocations: 215.9 kB / 0.5603 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.1406, allocations: 8 kB / 0.5603 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1407, allocations: 43.98 kB / 0.5604 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.1409, allocations: 132.5 kB / 0.5605 GB, free: 1.082 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.141, allocations: 154.8 kB / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.1414, allocations: 382.2 kB / 0.561 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1414, allocations: 0 / 0.561 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1414, allocations: 0 / 0.561 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.1414, allocations: 0 / 0.561 GB, free: 0.5547 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.0009973/0.1424, allocations: 0.7461 MB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1425, allocations: 12.03 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.1425, allocations: 30.75 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.87e-05/0.1426, allocations: 52.61 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/0.1432, allocations: 464.3 kB / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1432, allocations: 384 / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.1433, allocations: 4.375 kB / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.1435, allocations: 91.47 kB / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1435, allocations: 0 / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1435, allocations: 0 / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1435, allocations: 4 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.1436, allocations: 39.91 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.144, allocations: 374.4 kB / 0.5628 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.1443, allocations: 97.22 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.773e-05/0.1444, allocations: 45.64 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.1444, allocations: 0 / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.1446, allocations: 109 kB / 0.563 GB, free: 14.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.1446, allocations: 3.938 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004866/0.1451, allocations: 205.2 kB / 0.5632 GB, free: 14.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.1452, allocations: 81.11 kB / 0.5633 GB, free: 14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.1463, allocations: 1.03 MB / 0.5643 GB, free: 12.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1463, allocations: 25.7 kB / 0.5643 GB, free: 12.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.1465, allocations: 232.1 kB / 0.5645 GB, free: 12.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.1466, allocations: 27.8 kB / 0.5646 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.1466, allocations: 33.64 kB / 0.5646 GB, free: 12.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.1468, allocations: 370.8 kB / 0.5649 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.1469, allocations: 27.98 kB / 0.565 GB, free: 12.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.147, allocations: 59.41 kB / 0.565 GB, free: 12.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.1472, allocations: 83.86 kB / 0.5651 GB, free: 12.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1472, allocations: 4 kB / 0.5651 GB, free: 12.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003062/0.1475, allocations: 181.2 kB / 0.5653 GB, free: 11.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1475, allocations: 8 kB / 0.5653 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1475, allocations: 0 / 0.5653 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1475, allocations: 0 / 0.5653 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1476, allocations: 27.92 kB / 0.5653 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1476, allocations: 0 / 0.5653 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.23e-05/0.1477, allocations: 11.89 kB / 0.5653 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.1477, allocations: 12.06 kB / 0.5653 GB, free: 11.82 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.0002161/0.1479, allocations: 221.6 kB / 0.5656 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.148, allocations: 51.61 kB / 0.5656 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.441e-05/0.1481, allocations: 64.09 kB / 0.5657 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1481, allocations: 0 / 0.5657 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1481, allocations: 4 kB / 0.5657 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1481, allocations: 0 / 0.5657 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.1484, allocations: 337.4 kB / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1484, allocations: 7.938 kB / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.575e-05/0.1485, allocations: 11.94 kB / 0.566 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1485, allocations: 4 kB / 0.566 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1485, allocations: 3.984 kB / 0.566 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1485, allocations: 0 / 0.566 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1485, allocations: 0 / 0.566 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.1488, allocations: 201.5 kB / 0.5662 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.149, allocations: 144.7 kB / 0.5663 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.149, allocations: 8.094 kB / 0.5664 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/0.1491, allocations: 11.92 kB / 0.5664 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.1491, allocations: 8.109 kB / 0.5664 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.1491, allocations: 12 kB / 0.5664 GB, free: 10.65 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008203/0.15, allocations: 0.7604 MB / 0.5671 GB, free: 9.891 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.15, allocations: 0 / 0.5671 GB, free: 9.891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1502, allocations: 47.92 kB / 0.5672 GB, free: 9.844 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.001962/0.1522, allocations: 1.04 MB / 0.5682 GB, free: 8.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.1524, allocations: 83.83 kB / 0.5683 GB, free: 8.828 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1524, allocations: 0 / 0.5683 GB, free: 8.828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1525, allocations: 32.48 kB / 0.5683 GB, free: 8.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.1529, allocations: 72.27 kB / 0.5684 GB, free: 8.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005501/0.1584, allocations: 4.477 MB / 0.5727 GB, free: 4.148 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.1589, allocations: 0.8466 MB / 0.5736 GB, free: 3.277 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.1591, allocations: 50.95 kB / 0.5736 GB, free: 3.227 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.1593, allocations: 151.4 kB / 0.5738 GB, free: 3.082 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1593, allocations: 0 / 0.5738 GB, free: 3.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.1913, allocations: 8.997 MB / 0.5825 GB, free: 10.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.505/8.697, allocations: 8.672 kB / 0.5826 GB, free: 10.14 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.286344282794744] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 8.819765800610185 9.084081645 8.939262074 Calling exit ...