Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.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.001384/0.001384, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001448/0.001448, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.577/1.577, allocations: 230.2 MB / 254.5 MB, free: 15.09 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.2498/0.2498, allocations: 46.88 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.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",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.002241/0.002241, allocations: 83.88 kB / 0.4913 GB, free: 8.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1313, allocations: 65.97 MB / 0.5558 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003878/0.1352, allocations: 2.291 MB / 0.558 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.1375, allocations: 1.325 MB / 0.5593 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.1376, allocations: 4 kB / 0.5593 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003969/0.138, allocations: 147.3 kB / 0.5594 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007317/0.1387, allocations: 250.9 kB / 0.5597 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.1393, allocations: 195.4 kB / 0.5599 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006831/0.14, allocations: 462.7 kB / 0.5603 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.1402, allocations: 49.06 kB / 0.5603 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.1407, allocations: 339 kB / 0.5607 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.1409, allocations: 175.1 kB / 0.5608 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/0.141, allocations: 16 kB / 0.5609 GB, free: 1.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.1412, allocations: 71.98 kB / 0.5609 GB, free: 1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.1413, allocations: 151.4 kB / 0.5611 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.1415, allocations: 210.2 kB / 0.5613 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005741/0.1421, allocations: 485.5 kB / 0.5617 GB, free: 172 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1421, allocations: 0 / 0.5617 GB, free: 172 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1421, allocations: 0 / 0.5617 GB, free: 172 kB / 414.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1421, allocations: 7.875 kB / 0.5617 GB, free: 164 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001385/0.1435, allocations: 0.9173 MB / 0.5626 GB, free: 15.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1435, allocations: 8.031 kB / 0.5626 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.66e-05/0.1436, allocations: 46.73 kB / 0.5627 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.1437, allocations: 72.47 kB / 0.5628 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006391/0.1443, allocations: 452.8 kB / 0.5632 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.1443, allocations: 8.375 kB / 0.5632 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.1444, allocations: 20.33 kB / 0.5632 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.1448, allocations: 201 kB / 0.5634 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1448, allocations: 0 / 0.5634 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.1448, allocations: 11.92 kB / 0.5634 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1448, allocations: 4 kB / 0.5634 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.145, allocations: 95.86 kB / 0.5635 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009568/0.146, allocations: 0.825 MB / 0.5643 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.1466, allocations: 238.4 kB / 0.5645 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.1468, allocations: 83.52 kB / 0.5646 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1469, allocations: 8 kB / 0.5646 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004094/0.1473, allocations: 200.4 kB / 0.5648 GB, free: 12.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 3.567e-06/0.1473, allocations: 4 kB / 0.5648 GB, free: 12.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.002442/0.1497, allocations: 1.199 MB / 0.566 GB, free: 11.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/0.1498, allocations: 136.5 kB / 0.5661 GB, free: 11.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.1509, allocations: 0.9614 MB / 0.5671 GB, free: 10.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.1509, allocations: 37.7 kB / 0.5671 GB, free: 10.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.1511, allocations: 265 kB / 0.5674 GB, free: 10.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.1512, allocations: 154.8 kB / 0.5675 GB, free: 9.938 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.1514, allocations: 74.09 kB / 0.5676 GB, free: 9.855 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1515, allocations: 329.9 kB / 0.5679 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.1517, allocations: 112.8 kB / 0.568 GB, free: 9.418 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.152, allocations: 187.1 kB / 0.5682 GB, free: 9.211 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/0.1526, allocations: 319 kB / 0.5685 GB, free: 8.875 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1526, allocations: 0 / 0.5685 GB, free: 8.875 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008083/0.1534, allocations: 448.8 kB / 0.5689 GB, free: 8.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1534, allocations: 8 kB / 0.5689 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1534, allocations: 0 / 0.5689 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.1534, allocations: 8.125 kB / 0.5689 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.1537, allocations: 83.84 kB / 0.569 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.1537, allocations: 7.984 kB / 0.569 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.1539, allocations: 19.94 kB / 0.569 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.154, allocations: 27.92 kB / 0.5691 GB, free: 8.277 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003047/0.1543, allocations: 251.9 kB / 0.5693 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.1544, allocations: 79.48 kB / 0.5694 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.1545, allocations: 89.73 kB / 0.5695 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1545, allocations: 11.94 kB / 0.5695 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.1546, allocations: 4 kB / 0.5695 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1546, allocations: 0 / 0.5695 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.1564, allocations: 1.342 MB / 0.5708 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.1564, allocations: 8 kB / 0.5708 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.1565, allocations: 55.91 kB / 0.5708 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/0.1566, allocations: 8 kB / 0.5708 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.1566, allocations: 15.98 kB / 0.5709 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.1566, allocations: 4 kB / 0.5709 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.1566, allocations: 8.188 kB / 0.5709 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009335/0.1575, allocations: 0.7981 MB / 0.5717 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.1577, allocations: 188.5 kB / 0.5718 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/0.1578, allocations: 16 kB / 0.5719 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/0.1582, allocations: 15.98 kB / 0.5719 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.366e-05/0.1583, allocations: 55.77 kB / 0.5719 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.1584, allocations: 16 kB / 0.5719 GB, free: 5.164 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008333/0.1592, allocations: 0.7021 MB / 0.5726 GB, free: 4.469 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1592, allocations: 0 / 0.5726 GB, free: 4.469 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005538/0.1597, allocations: 95.92 kB / 0.5727 GB, free: 4.375 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003248/0.163, allocations: 1.759 MB / 0.5744 GB, free: 2.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007163/0.1637, allocations: 303.5 kB / 0.5747 GB, free: 2.473 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1637, allocations: 0 / 0.5747 GB, free: 2.473 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.164, allocations: 151.7 kB / 0.5749 GB, free: 2.324 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009718/0.165, allocations: 121.9 kB / 0.575 GB, free: 2.211 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007142/0.1721, allocations: 5.14 MB / 0.58 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.1727, allocations: 0.9133 MB / 0.5809 GB, free: 11.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002189/0.1729, allocations: 75.3 kB / 0.581 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.1732, allocations: 211.3 kB / 0.5812 GB, free: 11.66 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1732, allocations: 4 kB / 0.5812 GB, free: 11.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04033/0.2135, allocations: 11.58 MB / 0.5925 GB, free: 152 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.868/9.082, allocations: 10.25 kB / 0.5925 GB, free: 144 kB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.729664197191596] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 9.57149427710101 9.586513519 9.441526764 Calling exit ...