Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 114.3 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 219 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.558/1.558, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2293/0.2293, allocations: 46.93 MB / 357.8 MB, free: 10.29 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 67.89 kB / 0.4917 GB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1386, allocations: 65.98 MB / 0.5561 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004178/0.1428, allocations: 2.044 MB / 0.5581 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.145, allocations: 1.13 MB / 0.5592 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.1451, allocations: 0 / 0.5592 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.1455, allocations: 51.62 kB / 0.5593 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004625/0.146, allocations: 107.4 kB / 0.5594 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.1463, allocations: 115.6 kB / 0.5595 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003912/0.1467, allocations: 199.4 kB / 0.5597 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1468, allocations: 25.61 kB / 0.5597 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.147, allocations: 91.67 kB / 0.5598 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1472, allocations: 71.62 kB / 0.5599 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.1472, allocations: 12 kB / 0.5599 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.1474, allocations: 63.91 kB / 0.5599 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.317e-05/0.1474, allocations: 35.84 kB / 0.56 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1476, allocations: 71.53 kB / 0.56 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.148, allocations: 199.1 kB / 0.5602 GB, free: 1.539 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.148, allocations: 7.922 kB / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.148, allocations: 0 / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.148, allocations: 0 / 0.5602 GB, free: 1.531 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00112/0.1491, allocations: 0.5757 MB / 0.5608 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1491, allocations: 8.031 kB / 0.5608 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.57e-05/0.1492, allocations: 4.188 kB / 0.5608 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.441e-05/0.1492, allocations: 38.73 kB / 0.5608 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.254e-05/0.1493, allocations: 20.84 kB / 0.5609 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.1497, allocations: 257 kB / 0.5611 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.1497, allocations: 8.125 kB / 0.5611 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.1498, allocations: 8 kB / 0.5611 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.1502, allocations: 148.2 kB / 0.5613 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1502, allocations: 0 / 0.5613 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.1503, allocations: 3.938 kB / 0.5613 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.1503, allocations: 4 kB / 0.5613 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005121/0.1508, allocations: 115.8 kB / 0.5614 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007326/0.1515, allocations: 0.5516 MB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007167/0.1522, allocations: 154.6 kB / 0.5621 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.1525, allocations: 76.72 kB / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.1525, allocations: 0 / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004129/0.153, allocations: 139.2 kB / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.153, allocations: 0 / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009907/0.1539, allocations: 261.3 kB / 0.5625 GB, free: 14.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.154, allocations: 55.41 kB / 0.5626 GB, free: 14.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.1543, allocations: 232.2 kB / 0.5628 GB, free: 14.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.1543, allocations: 33.7 kB / 0.5628 GB, free: 14.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1544, allocations: 132.4 kB / 0.5629 GB, free: 14.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.1545, allocations: 43.73 kB / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.1545, allocations: 33.7 kB / 0.563 GB, free: 14.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.1548, allocations: 330.8 kB / 0.5633 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.1551, allocations: 67.94 kB / 0.5634 GB, free: 14.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.1554, allocations: 101.8 kB / 0.5635 GB, free: 13.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005835/0.156, allocations: 201.7 kB / 0.5637 GB, free: 13.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.156, allocations: 0 / 0.5637 GB, free: 13.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007486/0.1567, allocations: 259.1 kB / 0.5639 GB, free: 13.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.1567, allocations: 33.7 kB / 0.564 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1567, allocations: 0 / 0.564 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.1568, allocations: 7.938 kB / 0.564 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.157, allocations: 35.95 kB / 0.564 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.157, allocations: 4 kB / 0.564 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.1572, allocations: 31.86 kB / 0.564 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.1572, allocations: 4 kB / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.000137/0.1573, allocations: 140 kB / 0.5642 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.1574, allocations: 23.91 kB / 0.5642 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.618e-05/0.1575, allocations: 29.33 kB / 0.5642 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1575, allocations: 4 kB / 0.5642 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1575, allocations: 0 / 0.5642 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1575, allocations: 0 / 0.5642 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.1577, allocations: 237.5 kB / 0.5645 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1577, allocations: 3.938 kB / 0.5645 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.1579, allocations: 27.97 kB / 0.5645 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1579, allocations: 0 / 0.5645 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.1579, allocations: 11.88 kB / 0.5645 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1579, allocations: 0 / 0.5645 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.1579, allocations: 7.984 kB / 0.5645 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009625/0.1589, allocations: 292.9 kB / 0.5648 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.1589, allocations: 96.98 kB / 0.5649 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.159, allocations: 7.938 kB / 0.5649 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.1592, allocations: 19.97 kB / 0.5649 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.1592, allocations: 15.98 kB / 0.5649 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.1592, allocations: 11.92 kB / 0.5649 GB, free: 12.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.1594, allocations: 181.6 kB / 0.5651 GB, free: 12.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1594, allocations: 0 / 0.5651 GB, free: 12.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1597, allocations: 39.94 kB / 0.5652 GB, free: 12.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002805/0.1625, allocations: 1.142 MB / 0.5663 GB, free: 11.06 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007136/0.1632, allocations: 219.3 kB / 0.5665 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1632, allocations: 0 / 0.5665 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.1635, allocations: 75.81 kB / 0.5665 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.1639, allocations: 39.52 kB / 0.5666 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.168, allocations: 2.201 MB / 0.5687 GB, free: 8.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.1684, allocations: 0.728 MB / 0.5694 GB, free: 7.656 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.1685, allocations: 21.53 kB / 0.5695 GB, free: 7.637 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.1687, allocations: 55.41 kB / 0.5695 GB, free: 7.582 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1687, allocations: 0 / 0.5695 GB, free: 7.582 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.1934, allocations: 5.08 MB / 0.5745 GB, free: 2.582 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.767/8.961, allocations: 8.938 kB / 0.5745 GB, free: 2.574 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.12193407700397] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 9.146990967041347 9.170535285 9.018092649 Calling exit ...