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.001682/0.001682, allocations: 122.6 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.002012/0.002012, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.584/1.584, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.2418/0.2418, allocations: 46.94 MB / 357.5 MB, free: 10.44 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.002248/0.002248, allocations: 91.84 kB / 0.4914 GB, free: 8.129 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.143, allocations: 65.99 MB / 0.5559 GB, free: 6 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003497/0.1465, allocations: 1.741 MB / 0.5576 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1483, allocations: 1.038 MB / 0.5586 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.1484, allocations: 0 / 0.5586 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.1487, allocations: 43.77 kB / 0.5586 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.1491, allocations: 95.55 kB / 0.5587 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.1493, allocations: 79.72 kB / 0.5588 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.1495, allocations: 107.6 kB / 0.5589 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1496, allocations: 11.98 kB / 0.5589 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1497, allocations: 47.78 kB / 0.559 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.171e-05/0.1498, allocations: 23.86 kB / 0.559 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1498, allocations: 4 kB / 0.559 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1499, allocations: 51.91 kB / 0.559 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-05/0.15, allocations: 23.92 kB / 0.5591 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.15, allocations: 35.73 kB / 0.5591 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.1503, allocations: 119.4 kB / 0.5592 GB, free: 2.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1503, allocations: 0 / 0.5592 GB, free: 2.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1503, allocations: 4 kB / 0.5592 GB, free: 2.562 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.1503, allocations: 0 / 0.5592 GB, free: 2.562 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.0006403/0.1509, allocations: 418.7 kB / 0.5596 GB, free: 2.105 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.151, allocations: 12.03 kB / 0.5596 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.151, allocations: 34.75 kB / 0.5597 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.1511, allocations: 8.891 kB / 0.5597 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.1514, allocations: 216.8 kB / 0.5599 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1514, allocations: 4.375 kB / 0.5599 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.1514, allocations: 8.375 kB / 0.5599 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1516, allocations: 53.8 kB / 0.5599 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1516, allocations: 4 kB / 0.5599 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1516, allocations: 4 kB / 0.5599 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1516, allocations: 0 / 0.5599 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.909e-05/0.1517, allocations: 19.98 kB / 0.56 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.1521, allocations: 296.7 kB / 0.5603 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.1523, allocations: 50.62 kB / 0.5603 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.345e-05/0.1523, allocations: 20.91 kB / 0.5603 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.1523, allocations: 8 kB / 0.5603 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.1525, allocations: 67.33 kB / 0.5604 GB, free: 1.188 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1525, allocations: 0 / 0.5604 GB, free: 1.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005561/0.1531, allocations: 181.4 kB / 0.5606 GB, free: 1.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.1531, allocations: 59.34 kB / 0.5606 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.1533, allocations: 190.4 kB / 0.5608 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.1533, allocations: 33.7 kB / 0.5608 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.1534, allocations: 100.1 kB / 0.5609 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.1534, allocations: 23.8 kB / 0.561 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.1535, allocations: 25.64 kB / 0.561 GB, free: 0.543 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1536, allocations: 334.8 kB / 0.5613 GB, free: 212 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.842e-05/0.1537, allocations: 16 kB / 0.5613 GB, free: 196 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.784e-05/0.1538, allocations: 37.7 kB / 0.5613 GB, free: 152 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1539, allocations: 61.64 kB / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1539, allocations: 0 / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002097/0.1541, allocations: 101.6 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1541, allocations: 8.031 kB / 0.5615 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1541, allocations: 4 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1541, allocations: 0 / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.797e-05/0.1542, allocations: 23.94 kB / 0.5615 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1542, allocations: 0 / 0.5615 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.1543, allocations: 3.984 kB / 0.5615 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1543, allocations: 4 kB / 0.5615 GB, free: 15.93 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.0001124/0.1544, allocations: 129.8 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.1544, allocations: 15.91 kB / 0.5617 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.423e-05/0.1545, allocations: 21.39 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1545, allocations: 0 / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1545, allocations: 0 / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1545, allocations: 4 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.1549, allocations: 387.3 kB / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1549, allocations: 3.984 kB / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.973e-05/0.155, allocations: 8 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.155, allocations: 7.938 kB / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.155, allocations: 0 / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.155, allocations: 11.91 kB / 0.5621 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.155, allocations: 384 / 0.5621 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1552, allocations: 208.5 kB / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.1553, allocations: 89 kB / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.1553, allocations: 4 kB / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.1554, allocations: 11.94 kB / 0.5624 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.1554, allocations: 11.98 kB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1555, allocations: 4 kB / 0.5624 GB, free: 14.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.1556, allocations: 148.2 kB / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1556, allocations: 0 / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1558, allocations: 23.94 kB / 0.5626 GB, free: 14.75 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.002094/0.1579, allocations: 1.086 MB / 0.5636 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.1581, allocations: 63.83 kB / 0.5637 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1581, allocations: 4.062 kB / 0.5637 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.388e-05/0.1582, allocations: 27.98 kB / 0.5637 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1586, allocations: 30.67 kB / 0.5638 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.1605, allocations: 1.662 MB / 0.5654 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.1609, allocations: 0.708 MB / 0.5661 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.186e-05/0.1609, allocations: 17.17 kB / 0.5661 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.074e-05/0.161, allocations: 35.42 kB / 0.5661 GB, free: 11.14 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.161, allocations: 0 / 0.5661 GB, free: 11.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.1862, allocations: 3.489 MB / 0.5695 GB, free: 7.723 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/7.866, allocations: 3.938 kB / 0.5695 GB, free: 7.719 MB / 430.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.018586040008813] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 7.987443131045438 8.001074077 7.848059268 Calling exit ...