Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.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.001708/0.001708, allocations: 119.7 kB / 18.5 MB, free: 4.406 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.002006/0.002006, allocations: 217.6 kB / 21.46 MB, free: 1.449 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.643/1.643, 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.2415/0.2415, allocations: 46.89 MB / 357.4 MB, free: 10.5 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.Test56,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56",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.002235/0.002235, allocations: 79.88 kB / 0.4913 GB, free: 8.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1409, allocations: 65.98 MB / 0.5557 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003575/0.1444, allocations: 1.747 MB / 0.5574 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.1471, allocations: 1.645 MB / 0.5591 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.727e-05/0.1472, allocations: 0 / 0.5591 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.1475, allocations: 31.78 kB / 0.5591 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.1478, allocations: 103.5 kB / 0.5592 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.148, allocations: 79.73 kB / 0.5593 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.1482, allocations: 107.6 kB / 0.5594 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1483, allocations: 16 kB / 0.5594 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.769e-05/0.1484, allocations: 43.78 kB / 0.5594 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.1486, allocations: 43.83 kB / 0.5595 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1486, allocations: 7.938 kB / 0.5595 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.1488, allocations: 111.9 kB / 0.5596 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/0.1489, allocations: 23.91 kB / 0.5596 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.1489, allocations: 31.75 kB / 0.5596 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.1492, allocations: 171.4 kB / 0.5598 GB, free: 2.156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1492, allocations: 4 kB / 0.5598 GB, free: 2.152 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1492, allocations: 0 / 0.5598 GB, free: 2.152 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1492, allocations: 0 / 0.5598 GB, free: 2.152 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.0005856/0.1498, allocations: 430.5 kB / 0.5602 GB, free: 1.684 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1498, allocations: 8.031 kB / 0.5602 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.564e-05/0.1499, allocations: 38.75 kB / 0.5602 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.1499, allocations: 12.84 kB / 0.5603 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.1502, allocations: 216.7 kB / 0.5605 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1502, allocations: 384 / 0.5605 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1502, allocations: 11.94 kB / 0.5605 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.1504, allocations: 67.33 kB / 0.5605 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1504, allocations: 0 / 0.5605 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1504, allocations: 8 kB / 0.5605 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.1504, allocations: 0 / 0.5605 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.301e-05/0.1505, allocations: 15.98 kB / 0.5606 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.1509, allocations: 292.9 kB / 0.5608 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1511, allocations: 54.61 kB / 0.5609 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.1512, allocations: 20.84 kB / 0.5609 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1512, allocations: 3.984 kB / 0.5609 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.1513, allocations: 71.39 kB / 0.561 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1513, allocations: 4 kB / 0.561 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005583/0.1519, allocations: 177.3 kB / 0.5612 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/0.152, allocations: 77.11 kB / 0.5612 GB, free: 480 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1522, allocations: 162.4 kB / 0.5614 GB, free: 304 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.1522, allocations: 33.7 kB / 0.5614 GB, free: 264 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.1523, allocations: 92.14 kB / 0.5615 GB, free: 168 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.1523, allocations: 27.8 kB / 0.5615 GB, free: 140 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.1523, allocations: 29.72 kB / 0.5616 GB, free: 104 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1525, allocations: 322.8 kB / 0.5619 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.819e-05/0.1526, allocations: 19.98 kB / 0.5619 GB, free: 15.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.536e-05/0.1526, allocations: 46.5 kB / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1527, allocations: 61.88 kB / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1527, allocations: 0 / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001917/0.1529, allocations: 105.5 kB / 0.5621 GB, free: 15.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.153, allocations: 8 kB / 0.5621 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.153, allocations: 0 / 0.5621 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.153, allocations: 0 / 0.5621 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.1531, allocations: 15.98 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1531, allocations: 4 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.1531, allocations: 3.938 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1531, allocations: 4 kB / 0.5621 GB, free: 15.49 MB / 430.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.0001101/0.1532, allocations: 137.7 kB / 0.5623 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.1533, allocations: 7.953 kB / 0.5623 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.1533, allocations: 16.66 kB / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1533, allocations: 0 / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1533, allocations: 0 / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1533, allocations: 7.922 kB / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.1538, allocations: 399.3 kB / 0.5627 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1538, allocations: 0 / 0.5627 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.1538, allocations: 8 kB / 0.5627 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1539, allocations: 7.969 kB / 0.5627 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.1539, allocations: 0 / 0.5627 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1539, allocations: 4 kB / 0.5627 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1539, allocations: 0 / 0.5627 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.1541, allocations: 200.3 kB / 0.5629 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.943e-05/0.1542, allocations: 85.42 kB / 0.563 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.1542, allocations: 15.94 kB / 0.563 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.137e-05/0.1543, allocations: 8 kB / 0.563 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.1543, allocations: 3.984 kB / 0.563 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.1543, allocations: 4 kB / 0.563 GB, free: 14.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1545, allocations: 131.9 kB / 0.5631 GB, free: 14.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1545, allocations: 0 / 0.5631 GB, free: 14.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003042/0.1548, allocations: 47.86 kB / 0.5632 GB, free: 14.32 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.002353/0.1571, allocations: 1.184 MB / 0.5643 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.1573, allocations: 55.97 kB / 0.5644 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1573, allocations: 4 kB / 0.5644 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.602e-05/0.1574, allocations: 32.08 kB / 0.5644 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.1577, allocations: 27.62 kB / 0.5644 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.1596, allocations: 1.585 MB / 0.566 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.16, allocations: 0.709 MB / 0.5667 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.068e-05/0.16, allocations: 20.88 kB / 0.5667 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.009e-05/0.1601, allocations: 31.42 kB / 0.5667 GB, free: 10.73 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1601, allocations: 0 / 0.5667 GB, free: 10.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.1886, allocations: 4.059 MB / 0.5707 GB, free: 6.703 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.097, allocations: 13.36 kB / 0.5707 GB, free: 6.695 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.35664065508172] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.222171243280172 8.240518959 8.088302999 Calling exit ...