Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.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.001674/0.001674, allocations: 116.4 kB / 18.5 MB, free: 4.602 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.001402/0.001402, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.579/1.579, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2489/0.2489, allocations: 46.88 MB / 357.4 MB, free: 10.52 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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26",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.003735/0.003735, allocations: 83.86 kB / 0.4913 GB, free: 8.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1338, allocations: 65.98 MB / 0.5557 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003197/0.137, allocations: 1.743 MB / 0.5574 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1387, allocations: 1.039 MB / 0.5585 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.924e-05/0.1388, allocations: 0 / 0.5585 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.1391, allocations: 43.77 kB / 0.5585 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.1394, allocations: 95.59 kB / 0.5586 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.1396, allocations: 75.67 kB / 0.5587 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1398, allocations: 111.7 kB / 0.5588 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.486e-05/0.1399, allocations: 8 kB / 0.5588 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.716e-05/0.14, allocations: 43.78 kB / 0.5588 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.145e-05/0.14, allocations: 39.78 kB / 0.5589 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1401, allocations: 4 kB / 0.5589 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-05/0.1402, allocations: 43.98 kB / 0.5589 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.1402, allocations: 23.92 kB / 0.5589 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.1403, allocations: 43.66 kB / 0.559 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.1405, allocations: 115.5 kB / 0.5591 GB, free: 2.922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1405, allocations: 4 kB / 0.5591 GB, free: 2.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1405, allocations: 0 / 0.5591 GB, free: 2.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1405, allocations: 0 / 0.5591 GB, free: 2.918 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000576/0.1411, allocations: 434.6 kB / 0.5595 GB, free: 2.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1411, allocations: 8.031 kB / 0.5595 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.1412, allocations: 34.69 kB / 0.5595 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.1412, allocations: 12.89 kB / 0.5595 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.1415, allocations: 212.1 kB / 0.5597 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1415, allocations: 384 / 0.5597 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.1416, allocations: 12.3 kB / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1417, allocations: 57.8 kB / 0.5598 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1417, allocations: 0 / 0.5598 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1417, allocations: 7.938 kB / 0.5598 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1417, allocations: 0 / 0.5598 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.123e-05/0.1418, allocations: 19.98 kB / 0.5598 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.1422, allocations: 292.8 kB / 0.5601 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.1424, allocations: 58.67 kB / 0.5602 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.637e-05/0.1425, allocations: 28.78 kB / 0.5602 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.1425, allocations: 0 / 0.5602 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.1426, allocations: 67.39 kB / 0.5603 GB, free: 1.523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1426, allocations: 0 / 0.5603 GB, free: 1.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005765/0.1432, allocations: 173.3 kB / 0.5604 GB, free: 1.348 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.1433, allocations: 51.41 kB / 0.5605 GB, free: 1.285 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.1435, allocations: 222.1 kB / 0.5607 GB, free: 1.059 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1435, allocations: 25.7 kB / 0.5607 GB, free: 1.027 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.1436, allocations: 104.1 kB / 0.5608 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.1436, allocations: 19.8 kB / 0.5608 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.1437, allocations: 25.72 kB / 0.5609 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1438, allocations: 330.8 kB / 0.5612 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-05/0.1439, allocations: 20 kB / 0.5612 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.636e-05/0.1439, allocations: 33.7 kB / 0.5612 GB, free: 492 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.1441, allocations: 69.62 kB / 0.5613 GB, free: 416 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1441, allocations: 0 / 0.5613 GB, free: 416 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.1443, allocations: 101.5 kB / 0.5614 GB, free: 308 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1443, allocations: 8 kB / 0.5614 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1443, allocations: 3.984 kB / 0.5614 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1443, allocations: 0 / 0.5614 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.719e-05/0.1444, allocations: 12 kB / 0.5614 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1444, allocations: 8.031 kB / 0.5614 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/0.1445, allocations: 3.938 kB / 0.5614 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1445, allocations: 8 kB / 0.5614 GB, free: 264 kB / 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.0001164/0.1446, allocations: 125.8 kB / 0.5616 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.1446, allocations: 15.91 kB / 0.5616 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.1447, allocations: 17.39 kB / 0.5616 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1447, allocations: 3.938 kB / 0.5616 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1447, allocations: 4.188 kB / 0.5616 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1447, allocations: 0 / 0.5616 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.1452, allocations: 411.4 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1452, allocations: 3.938 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.1453, allocations: 8 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1453, allocations: 0 / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1453, allocations: 384 / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1453, allocations: 7.938 kB / 0.562 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1453, allocations: 4 kB / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.1455, allocations: 204.3 kB / 0.5622 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.1456, allocations: 89.05 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.1456, allocations: 0 / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.1457, allocations: 7.938 kB / 0.5623 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1457, allocations: 15.92 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.1457, allocations: 0 / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.1459, allocations: 160.8 kB / 0.5625 GB, free: 15.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1459, allocations: 4 kB / 0.5625 GB, free: 15.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1461, allocations: 23.94 kB / 0.5625 GB, free: 15.06 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: 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.002108/0.1482, allocations: 1.096 MB / 0.5636 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.1484, allocations: 59.86 kB / 0.5636 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1484, allocations: 0 / 0.5636 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.281e-05/0.1485, allocations: 27.92 kB / 0.5636 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1489, allocations: 28.09 kB / 0.5637 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.151, allocations: 1.694 MB / 0.5653 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.1514, allocations: 0.7002 MB / 0.566 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.248e-05/0.1515, allocations: 24.48 kB / 0.566 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.1515, allocations: 39.42 kB / 0.5661 GB, free: 11.43 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1515, allocations: 0 / 0.5661 GB, free: 11.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.1796, allocations: 3.543 MB / 0.5695 GB, free: 7.945 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.155, allocations: 2.109 kB / 0.5695 GB, free: 7.945 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.289447021204978] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.27694405708462 8.291868552 8.148095322 Calling exit ...