Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.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.001678/0.001678, allocations: 122 kB / 18.46 MB, free: 4.609 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.001953/0.001953, allocations: 208.9 kB / 21.41 MB, free: 1.66 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.505/1.505, allocations: 227.5 MB / 251.7 MB, free: 268 kB / 190.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.2297/0.2297, allocations: 46.16 MB / 351.1 MB, free: 14.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-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.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test19",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.002264/0.002264, allocations: 79.81 kB / 489.7 MB, free: 28.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1386, allocations: 62.45 MB / 0.5393 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003909/0.1426, allocations: 1.731 MB / 0.541 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.1447, allocations: 1.017 MB / 0.5419 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.1448, allocations: 3.938 kB / 0.5419 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.1452, allocations: 47.7 kB / 0.542 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.1456, allocations: 91.61 kB / 0.5421 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.1459, allocations: 83.66 kB / 0.5422 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.1461, allocations: 99.75 kB / 0.5423 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1462, allocations: 12.28 kB / 0.5423 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1463, allocations: 43.77 kB / 0.5423 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.115e-05/0.1464, allocations: 35.8 kB / 0.5423 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.1465, allocations: 7.938 kB / 0.5424 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1466, allocations: 51.97 kB / 0.5424 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.852e-05/0.1467, allocations: 15.92 kB / 0.5424 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.1467, allocations: 31.75 kB / 0.5424 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.147, allocations: 123.5 kB / 0.5426 GB, free: 1.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.147, allocations: 0 / 0.5426 GB, free: 1.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.147, allocations: 0 / 0.5426 GB, free: 1.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.147, allocations: 0 / 0.5426 GB, free: 1.309 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007039/0.1477, allocations: 434.5 kB / 0.543 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.1478, allocations: 8.031 kB / 0.543 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.1479, allocations: 34.75 kB / 0.543 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.1479, allocations: 12.89 kB / 0.543 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.1483, allocations: 216.8 kB / 0.5432 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1483, allocations: 384 / 0.5432 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.1483, allocations: 4.375 kB / 0.5432 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1485, allocations: 57.8 kB / 0.5433 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1485, allocations: 3.984 kB / 0.5433 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1485, allocations: 0 / 0.5433 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1485, allocations: 0 / 0.5433 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.73e-05/0.1486, allocations: 27.92 kB / 0.5433 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.1491, allocations: 280.9 kB / 0.5436 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.1493, allocations: 58.67 kB / 0.5437 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.1493, allocations: 20.84 kB / 0.5437 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1494, allocations: 4 kB / 0.5437 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.1496, allocations: 75.33 kB / 0.5437 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1496, allocations: 0 / 0.5437 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000584/0.1502, allocations: 181.3 kB / 0.5439 GB, free: 15.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.1502, allocations: 59.41 kB / 0.544 GB, free: 15.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.1504, allocations: 186.4 kB / 0.5442 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1505, allocations: 33.7 kB / 0.5442 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.1505, allocations: 100.1 kB / 0.5443 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1506, allocations: 23.84 kB / 0.5443 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.1506, allocations: 17.72 kB / 0.5443 GB, free: 15.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1508, allocations: 326.8 kB / 0.5446 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.229e-05/0.1509, allocations: 27.92 kB / 0.5447 GB, free: 14.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/0.1509, allocations: 37.7 kB / 0.5447 GB, free: 14.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.1511, allocations: 69.58 kB / 0.5448 GB, free: 14.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1511, allocations: 0 / 0.5448 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002043/0.1513, allocations: 97.59 kB / 0.5449 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1513, allocations: 4 kB / 0.5449 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1513, allocations: 3.938 kB / 0.5449 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1513, allocations: 0 / 0.5449 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1514, allocations: 19.98 kB / 0.5449 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1515, allocations: 0 / 0.5449 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.1515, allocations: 4 kB / 0.5449 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1515, allocations: 8.031 kB / 0.5449 GB, free: 14.68 MB / 414.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 (10): * Single equations (assignments): 10 * 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.0001099/0.1516, allocations: 125.8 kB / 0.545 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.1517, allocations: 15.91 kB / 0.545 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.1517, allocations: 21.39 kB / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1517, allocations: 0 / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1517, allocations: 0 / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1518, allocations: 4 kB / 0.5451 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.1522, allocations: 399.2 kB / 0.5454 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1523, allocations: 0 / 0.5454 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.1523, allocations: 15.92 kB / 0.5454 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1523, allocations: 4 kB / 0.5455 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1523, allocations: 0 / 0.5455 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1523, allocations: 3.938 kB / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.1523, allocations: 4.375 kB / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.1526, allocations: 204.4 kB / 0.5457 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.1527, allocations: 85.02 kB / 0.5457 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.1527, allocations: 4 kB / 0.5457 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.1528, allocations: 11.92 kB / 0.5458 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.1528, allocations: 8 kB / 0.5458 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1528, allocations: 4 kB / 0.5458 GB, free: 13.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.153, allocations: 149.5 kB / 0.5459 GB, free: 13.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.153, allocations: 3.938 kB / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.1533, allocations: 19.98 kB / 0.5459 GB, free: 13.5 MB / 414.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002179/0.1554, allocations: 1.099 MB / 0.547 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.1556, allocations: 59.84 kB / 0.5471 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1557, allocations: 0 / 0.5471 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.026e-05/0.1557, allocations: 39.91 kB / 0.5471 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1561, allocations: 31.91 kB / 0.5471 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.158, allocations: 1.654 MB / 0.5487 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.1584, allocations: 0.7002 MB / 0.5494 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.504e-05/0.1585, allocations: 21.11 kB / 0.5494 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.1585, allocations: 43.42 kB / 0.5495 GB, free: 9.887 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1585, allocations: 0 / 0.5495 GB, free: 9.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.1838, allocations: 3.47 MB / 0.5529 GB, free: 6.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/8.311, allocations: 0 / 0.5529 GB, free: 6.523 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.363627762068063] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.43570210505277 8.461374221 8.309972888 Calling exit ...