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.0007905/0.0007905, allocations: 80.45 kB / 20.69 MB, free: 3.875 MB / 18.57 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.0007495/0.0007495, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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 0.8115/0.8115, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1251/0.1251, allocations: 32.37 MB / 270.4 MB, free: 14.98 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 408.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.249e-05, allocations: 6.219 kB / 408.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002359/0.002381, allocations: 1.954 MB / 410.1 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.003495, allocations: 0.858 MB / 411 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.341e-05/0.003589, allocations: 4 kB / 411 MB, free: 10.1 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.003903, allocations: 47.64 kB / 411 MB, free: 10.05 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.004145, allocations: 79.48 kB / 411.1 MB, free: 9.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.004404, allocations: 124.1 kB / 411.2 MB, free: 9.855 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.004625, allocations: 203.3 kB / 411.4 MB, free: 9.656 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.004727, allocations: 21.75 kB / 411.5 MB, free: 9.637 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.00486, allocations: 111.6 kB / 411.6 MB, free: 9.527 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.004955, allocations: 63.8 kB / 411.6 MB, free: 9.465 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.004977, allocations: 12 kB / 411.6 MB, free: 9.453 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.362e-05/0.005061, allocations: 47.98 kB / 411.7 MB, free: 9.406 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.005125, allocations: 39.83 kB / 411.7 MB, free: 9.367 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.005184, allocations: 43.84 kB / 411.8 MB, free: 9.324 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.005438, allocations: 207.2 kB / 412 MB, free: 9.121 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00544, allocations: 0 / 412 MB, free: 9.121 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.005442, allocations: 4 kB / 412 MB, free: 9.117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.005446, allocations: 0 / 412 MB, free: 9.117 MB / 346.7 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.0006621/0.006108, allocations: 492.6 kB / 412.5 MB, free: 8.594 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.006143, allocations: 8.031 kB / 412.5 MB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.006193, allocations: 24.8 kB / 412.5 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.006402, allocations: 182.4 kB / 412.7 MB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.006416, allocations: 8.281 kB / 412.7 MB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.00644, allocations: 16.27 kB / 412.7 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.006705, allocations: 188.7 kB / 412.9 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.006714, allocations: 3.938 kB / 412.9 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.006727, allocations: 3.938 kB / 412.9 MB, free: 8.121 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.006732, allocations: 4 kB / 412.9 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.006957, allocations: 107.9 kB / 413 MB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.007388, allocations: 480.6 kB / 413.5 MB, free: 7.504 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.007763, allocations: 162.6 kB / 413.6 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.007884, allocations: 76.72 kB / 413.7 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.007898, allocations: 0 / 413.7 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.008122, allocations: 165 kB / 413.9 MB, free: 7.078 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.008123, allocations: 0 / 413.9 MB, free: 7.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004652/0.008588, allocations: 265.3 kB / 414.1 MB, free: 6.812 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.00862, allocations: 55.41 kB / 414.2 MB, free: 6.746 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.008777, allocations: 224.3 kB / 414.4 MB, free: 6.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.008793, allocations: 33.69 kB / 414.4 MB, free: 6.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.008859, allocations: 128.4 kB / 414.6 MB, free: 6.352 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.008885, allocations: 39.69 kB / 414.6 MB, free: 6.312 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.008929, allocations: 29.72 kB / 414.6 MB, free: 6.277 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.162e-05/0.00901, allocations: 334.8 kB / 414.9 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.009148, allocations: 97.64 kB / 415 MB, free: 5.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.009303, allocations: 141.9 kB / 415.2 MB, free: 5.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.00956, allocations: 193.8 kB / 415.4 MB, free: 5.469 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.009563, allocations: 0 / 415.4 MB, free: 5.469 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003455/0.009909, allocations: 288.7 kB / 415.7 MB, free: 5.168 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.009935, allocations: 33.7 kB / 415.7 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.00994, allocations: 0 / 415.7 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.009953, allocations: 12.11 kB / 415.7 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.01006, allocations: 35.91 kB / 415.7 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01006, allocations: 0 / 415.7 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.265e-05/0.01016, allocations: 35.86 kB / 415.8 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.01017, allocations: 4 kB / 415.8 MB, free: 5.043 MB / 346.7 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 8.737e-05/0.01025, allocations: 133.8 kB / 415.9 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.01027, allocations: 15.91 kB / 415.9 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.01061, allocations: 222.9 kB / 416.1 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.01061, allocations: 0 / 416.1 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01061, allocations: 0 / 416.1 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01062, allocations: 3.938 kB / 416.1 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.01073, allocations: 165.2 kB / 416.3 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.01073, allocations: 4 kB / 416.3 MB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.01081, allocations: 27.91 kB / 416.3 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01081, allocations: 4 kB / 416.3 MB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.01082, allocations: 4 kB / 416.3 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01082, allocations: 4 kB / 416.3 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01083, allocations: 0 / 416.3 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.01127, allocations: 324.9 kB / 416.7 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.01129, allocations: 19.94 kB / 416.7 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.01131, allocations: 8 kB / 416.7 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.01138, allocations: 15.97 kB / 416.7 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.01143, allocations: 19.97 kB / 416.7 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.01145, allocations: 8 kB / 416.7 MB, free: 4.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.01155, allocations: 167.5 kB / 416.9 MB, free: 3.855 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01155, allocations: 4 kB / 416.9 MB, free: 3.852 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001702/0.01172, allocations: 39.95 kB / 416.9 MB, free: 3.812 MB / 346.7 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.0006266/0.01235, allocations: 446.3 kB / 417.4 MB, free: 3.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004565/0.0128, allocations: 248.9 kB / 417.6 MB, free: 3.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01281, allocations: 3.938 kB / 417.6 MB, free: 3.156 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.01294, allocations: 84.16 kB / 417.7 MB, free: 3.074 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.01315, allocations: 51.5 kB / 417.8 MB, free: 3.027 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.01363, allocations: 339.9 kB / 418.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.84e-05/0.01369, allocations: 120.2 kB / 418.2 MB, free: 2.527 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.505e-05/0.01374, allocations: 24.48 kB / 418.2 MB, free: 2.504 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01374, allocations: 0 / 418.2 MB, free: 2.504 MB / 346.7 MB Notification: Performance of Templates: time 0.003229/0.01697, allocations: 2.865 MB / 421.1 MB, free: 15.63 MB / 362.7 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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.515077816322446] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.02140218112617731 0.029805403 0.022716707000000003 Calling exit ...