Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.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.001781/0.001781, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.002183/0.002183, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.471/1.471, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2216/0.2216, allocations: 46.88 MB / 357.4 MB, free: 10.51 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.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28",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.003746/0.003746, allocations: 79.86 kB / 0.4913 GB, free: 8.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.133, allocations: 65.98 MB / 0.5557 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003604/0.1366, allocations: 1.736 MB / 0.5574 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.1388, allocations: 1.034 MB / 0.5584 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.1389, allocations: 4 kB / 0.5584 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.1393, allocations: 39.77 kB / 0.5585 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000495/0.1398, allocations: 91.61 kB / 0.5586 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.1402, allocations: 83.66 kB / 0.5587 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.1404, allocations: 111.6 kB / 0.5588 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1405, allocations: 11.98 kB / 0.5588 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.1407, allocations: 43.78 kB / 0.5588 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.1408, allocations: 31.86 kB / 0.5588 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1408, allocations: 4 kB / 0.5588 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.1409, allocations: 43.97 kB / 0.5589 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.141, allocations: 19.92 kB / 0.5589 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.444e-05/0.141, allocations: 31.75 kB / 0.5589 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.1413, allocations: 127.4 kB / 0.5591 GB, free: 2.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1413, allocations: 0 / 0.5591 GB, free: 2.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.1413, allocations: 7.984 kB / 0.5591 GB, free: 2.898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1413, allocations: 0 / 0.5591 GB, free: 2.898 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.0006748/0.142, allocations: 418.7 kB / 0.5595 GB, free: 2.441 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1421, allocations: 11.97 kB / 0.5595 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.1421, allocations: 34.73 kB / 0.5595 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.1422, allocations: 12.89 kB / 0.5595 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.1425, allocations: 212.8 kB / 0.5597 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1425, allocations: 4.375 kB / 0.5597 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.1425, allocations: 4.375 kB / 0.5597 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1427, allocations: 65.73 kB / 0.5598 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1427, allocations: 0 / 0.5598 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1427, allocations: 0 / 0.5598 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1427, allocations: 0 / 0.5598 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.134e-05/0.1428, allocations: 19.98 kB / 0.5598 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.1433, allocations: 280.9 kB / 0.5601 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.1435, allocations: 66.61 kB / 0.5601 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.62e-05/0.1435, allocations: 16.86 kB / 0.5602 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1436, allocations: 3.984 kB / 0.5602 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.1437, allocations: 67.33 kB / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1437, allocations: 0 / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006309/0.1444, allocations: 185.3 kB / 0.5604 GB, free: 1.344 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.1444, allocations: 55.39 kB / 0.5605 GB, free: 1.277 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.1446, allocations: 190.4 kB / 0.5606 GB, free: 1.082 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.1447, allocations: 29.7 kB / 0.5607 GB, free: 1.047 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.1447, allocations: 96.14 kB / 0.5608 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.1448, allocations: 27.78 kB / 0.5608 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.1448, allocations: 25.72 kB / 0.5608 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.145, allocations: 322.8 kB / 0.5611 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.521e-05/0.1451, allocations: 27.98 kB / 0.5612 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.315e-05/0.1451, allocations: 41.64 kB / 0.5612 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1453, allocations: 54.08 kB / 0.5612 GB, free: 444 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1453, allocations: 0 / 0.5612 GB, free: 444 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002012/0.1455, allocations: 105.5 kB / 0.5613 GB, free: 332 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1455, allocations: 4 kB / 0.5613 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1455, allocations: 8.031 kB / 0.5614 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1455, allocations: 0 / 0.5614 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1456, allocations: 19.98 kB / 0.5614 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1456, allocations: 0 / 0.5614 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.1457, allocations: 0 / 0.5614 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1457, allocations: 4.188 kB / 0.5614 GB, free: 296 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.0001161/0.1458, allocations: 139.4 kB / 0.5615 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.1458, allocations: 19.84 kB / 0.5615 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.1459, allocations: 21.55 kB / 0.5615 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1459, allocations: 0 / 0.5615 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1459, allocations: 4 kB / 0.5616 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1459, allocations: 0 / 0.5616 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.1464, allocations: 395.2 kB / 0.5619 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-06/0.1464, allocations: 4 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.1464, allocations: 4 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1464, allocations: 7.984 kB / 0.5619 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1464, allocations: 0 / 0.5619 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1464, allocations: 7.969 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.1464, allocations: 4 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.1467, allocations: 208.2 kB / 0.5622 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.1467, allocations: 85.02 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.1468, allocations: 8 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.1468, allocations: 7.922 kB / 0.5623 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.1469, allocations: 8 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1469, allocations: 4 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.147, allocations: 148.2 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.147, allocations: 0 / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1473, allocations: 27.92 kB / 0.5624 GB, free: 15.1 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.1494, allocations: 1.079 MB / 0.5635 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.1496, allocations: 59.91 kB / 0.5635 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1496, allocations: 4.062 kB / 0.5635 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.231e-05/0.1497, allocations: 27.92 kB / 0.5636 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.15, allocations: 42.59 kB / 0.5636 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.152, allocations: 1.661 MB / 0.5652 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.1523, allocations: 0.708 MB / 0.5659 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.503e-05/0.1523, allocations: 12.88 kB / 0.5659 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.1524, allocations: 35.42 kB / 0.566 GB, free: 11.5 MB / 430.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1524, allocations: 0 / 0.566 GB, free: 11.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.178, allocations: 3.504 MB / 0.5694 GB, free: 8.066 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/8.405, allocations: 0 / 0.5694 GB, free: 8.066 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.304816267918795] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.533744893968105 8.558889917 8.412822064 Calling exit ...