Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001806/0.001806, allocations: 79.11 kB / 20.52 MB, free: 1.281 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.002241/0.002241, allocations: 163.5 kB / 23.76 MB, free: 4.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 158.6 MB / 185.5 MB, free: 6.211 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2182/0.2182, allocations: 32.37 MB / 270.1 MB, free: 2.703 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0026/0.0026, allocations: 71.89 kB / 407.8 MB, free: 5.469 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1357, allocations: 61.05 MB / 468.9 MB, free: 8.234 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004163/0.1399, allocations: 1.954 MB / 470.8 MB, free: 6.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1418, allocations: 0.8543 MB / 471.7 MB, free: 5.406 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1419, allocations: 7.938 kB / 471.7 MB, free: 5.398 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.1422, allocations: 51.7 kB / 471.7 MB, free: 5.348 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.1425, allocations: 71.56 kB / 471.8 MB, free: 5.277 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.1429, allocations: 119.7 kB / 471.9 MB, free: 5.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000344/0.1432, allocations: 203.4 kB / 472.1 MB, free: 4.961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1433, allocations: 13.81 kB / 472.1 MB, free: 4.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.1435, allocations: 87.62 kB / 472.2 MB, free: 4.863 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.1436, allocations: 75.55 kB / 472.3 MB, free: 4.789 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/0.1437, allocations: 16 kB / 472.3 MB, free: 4.773 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1438, allocations: 51.98 kB / 472.3 MB, free: 4.723 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.1439, allocations: 35.89 kB / 472.4 MB, free: 4.688 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.906e-05/0.144, allocations: 55.67 kB / 472.4 MB, free: 4.633 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.1444, allocations: 203.1 kB / 472.6 MB, free: 4.434 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1444, allocations: 4 kB / 472.6 MB, free: 4.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1444, allocations: 0 / 472.6 MB, free: 4.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1444, allocations: 0 / 472.6 MB, free: 4.43 MB / 446.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.001193/0.1456, allocations: 492.5 kB / 473.1 MB, free: 3.906 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.1456, allocations: 12.03 kB / 473.1 MB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.285e-05/0.1457, allocations: 24.84 kB / 473.2 MB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.1462, allocations: 183.1 kB / 473.3 MB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.1462, allocations: 8.375 kB / 473.3 MB, free: 3.656 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.1462, allocations: 16.12 kB / 473.4 MB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005286/0.1467, allocations: 177.8 kB / 473.5 MB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1468, allocations: 4 kB / 473.5 MB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.1468, allocations: 0 / 473.5 MB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.1468, allocations: 7.938 kB / 473.5 MB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006167/0.1474, allocations: 115.8 kB / 473.7 MB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007838/0.1482, allocations: 476.6 kB / 474.1 MB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008271/0.149, allocations: 158.6 kB / 474.3 MB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.1493, allocations: 72.73 kB / 474.3 MB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.1494, allocations: 0 / 474.3 MB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005179/0.1499, allocations: 180.9 kB / 474.5 MB, free: 2.383 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.1499, allocations: 0 / 474.5 MB, free: 2.383 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001146/0.151, allocations: 257.3 kB / 474.8 MB, free: 2.125 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.1511, allocations: 59.41 kB / 474.8 MB, free: 2.055 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.1514, allocations: 236.4 kB / 475.1 MB, free: 1.812 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.1514, allocations: 29.7 kB / 475.1 MB, free: 1.777 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.1516, allocations: 124.3 kB / 475.2 MB, free: 1.652 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.1516, allocations: 39.73 kB / 475.3 MB, free: 1.613 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.1517, allocations: 33.7 kB / 475.3 MB, free: 1.574 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00026/0.152, allocations: 330.8 kB / 475.6 MB, free: 1.242 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.1523, allocations: 93.64 kB / 475.7 MB, free: 1.145 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.1527, allocations: 145.3 kB / 475.8 MB, free: 0.9844 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/0.1534, allocations: 189.8 kB / 476 MB, free: 0.7773 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1534, allocations: 4 kB / 476 MB, free: 0.7734 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008754/0.1543, allocations: 292.8 kB / 476.3 MB, free: 480 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.854e-05/0.1543, allocations: 33.14 kB / 476.3 MB, free: 444 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1543, allocations: 4 kB / 476.4 MB, free: 440 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.1544, allocations: 0 / 476.4 MB, free: 440 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.1546, allocations: 36.09 kB / 476.4 MB, free: 404 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.1546, allocations: 15.86 kB / 476.4 MB, free: 388 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.1548, allocations: 31.86 kB / 476.4 MB, free: 356 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.1549, allocations: 8 kB / 476.4 MB, free: 348 kB / 446.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.0001872/0.1551, allocations: 134.3 kB / 476.6 MB, free: 204 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.1551, allocations: 15.91 kB / 476.6 MB, free: 188 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2628/0.4179, allocations: 215.2 kB / 476.8 MB, free: 50.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.4179, allocations: 4.812 kB / 476.8 MB, free: 50.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.4179, allocations: 2.438 kB / 476.8 MB, free: 50.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.4179, allocations: 1.031 kB / 476.8 MB, free: 50.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.4182, allocations: 163.5 kB / 477 MB, free: 50.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4182, allocations: 0 / 477 MB, free: 50.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.4184, allocations: 25.69 kB / 477 MB, free: 50.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.4184, allocations: 3.75 kB / 477 MB, free: 50.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.4184, allocations: 6.469 kB / 477 MB, free: 50.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4184, allocations: 4.562 kB / 477 MB, free: 50.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4184, allocations: 2.531 kB / 477 MB, free: 50.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009511/0.4194, allocations: 315.9 kB / 477.3 MB, free: 50.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.4194, allocations: 24.08 kB / 477.3 MB, free: 50.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.4195, allocations: 3.312 kB / 477.3 MB, free: 50.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.4196, allocations: 26.33 kB / 477.4 MB, free: 50.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/0.4197, allocations: 17.75 kB / 477.4 MB, free: 50.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.4198, allocations: 5.188 kB / 477.4 MB, free: 50.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.4199, allocations: 170.5 kB / 477.6 MB, free: 50.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4199, allocations: 0 / 477.6 MB, free: 50.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.4202, allocations: 34.56 kB / 477.6 MB, free: 50.16 MB / 446.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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.00161/0.4218, allocations: 451.2 kB / 478 MB, free: 49.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006281/0.4224, allocations: 240.6 kB / 478.3 MB, free: 49.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4224, allocations: 3.094 kB / 478.3 MB, free: 49.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.4227, allocations: 75.83 kB / 478.3 MB, free: 49.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.423, allocations: 51.42 kB / 478.4 MB, free: 49.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006669/0.4237, allocations: 320.7 kB / 478.7 MB, free: 49.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.166e-05/0.4238, allocations: 116.8 kB / 478.8 MB, free: 49.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.69e-05/0.4239, allocations: 24.52 kB / 478.8 MB, free: 49.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.4239, allocations: 23.42 kB / 478.9 MB, free: 49.6 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4239, allocations: 0 / 478.9 MB, free: 49.6 MB / 446.1 MB Notification: Performance of Templates: time 0.006547/0.4305, allocations: 3.06 MB / 481.9 MB, free: 49.26 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.383242593030445] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.4399012919748202 0.44833106800000005 0.30156755100000004 Calling exit ...