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.001562/0.001562, allocations: 75.36 kB / 19.93 MB, free: 1.781 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.002245/0.002245, allocations: 169.7 kB / 23.22 MB, free: 4.902 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.842/1.842, allocations: 158.6 MB / 185 MB, free: 6.402 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.222/0.222, allocations: 32.38 MB / 269.6 MB, free: 4.668 MB / 254.1 MB " [Timeout remaining time 179] 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 2.996e-06/2.996e-06, allocations: 0 / 407.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.86e-05/5.16e-05, allocations: 5.234 kB / 407.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004875/0.004927, allocations: 1.95 MB / 409.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.00682, allocations: 0.858 MB / 410.2 MB, free: 108 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.006943, allocations: 7.938 kB / 410.3 MB, free: 100 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.007311, allocations: 47.64 kB / 410.3 MB, free: 52 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.007627, allocations: 75.66 kB / 410.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.007997, allocations: 115.6 kB / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003665/0.008364, allocations: 211.1 kB / 410.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.008496, allocations: 21.73 kB / 410.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.008708, allocations: 107.7 kB / 410.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.008876, allocations: 67.8 kB / 410.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.008917, allocations: 12 kB / 410.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.009041, allocations: 43.98 kB / 410.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.943e-05/0.009141, allocations: 43.83 kB / 411 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.009242, allocations: 47.83 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000453/0.009695, allocations: 199.3 kB / 411.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.009701, allocations: 0 / 411.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.009704, allocations: 0 / 411.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.009712, allocations: 3.938 kB / 411.2 MB, free: 15.12 MB / 350.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.001127/0.01084, allocations: 496.5 kB / 411.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.01088, allocations: 12.03 kB / 411.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.843e-05/0.01097, allocations: 20.8 kB / 411.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.01137, allocations: 178.4 kB / 411.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.0114, allocations: 12.27 kB / 411.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/0.01146, allocations: 20.27 kB / 412 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.01192, allocations: 174.4 kB / 412.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.01193, allocations: 7.938 kB / 412.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.01195, allocations: 4 kB / 412.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.01196, allocations: 0 / 412.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/0.01246, allocations: 115.8 kB / 412.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006881/0.01314, allocations: 472.6 kB / 412.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007371/0.01388, allocations: 166.5 kB / 412.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.01414, allocations: 64.8 kB / 412.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.01417, allocations: 4 kB / 412.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004222/0.01459, allocations: 168.9 kB / 413.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.003e-06/0.01459, allocations: 0 / 413.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.000965/0.01556, allocations: 257.3 kB / 413.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.01561, allocations: 59.41 kB / 413.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.01587, allocations: 224.3 kB / 413.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.0159, allocations: 33.7 kB / 413.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.01602, allocations: 124.4 kB / 413.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.01606, allocations: 39.69 kB / 413.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.496e-05/0.01613, allocations: 37.7 kB / 413.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.01632, allocations: 334.8 kB / 414.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.01662, allocations: 97.62 kB / 414.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.01694, allocations: 141.9 kB / 414.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005776/0.01752, allocations: 193.8 kB / 414.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01752, allocations: 4 kB / 414.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007441/0.01826, allocations: 288.5 kB / 414.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.0183, allocations: 33.69 kB / 414.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01831, allocations: 0 / 414.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.01832, allocations: 8.062 kB / 414.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.01851, allocations: 35.97 kB / 415 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01852, allocations: 4 kB / 415 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.01872, allocations: 31.86 kB / 415 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.01874, allocations: 4 kB / 415 MB, free: 11.05 MB / 350.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.0001406/0.01888, allocations: 141.7 kB / 415.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.01892, allocations: 23.89 kB / 415.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006847/0.0196, allocations: 215 kB / 415.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.0196, allocations: 0 / 415.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.01961, allocations: 3.984 kB / 415.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01961, allocations: 3.938 kB / 415.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.01981, allocations: 165.1 kB / 415.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01982, allocations: 3.984 kB / 415.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.01999, allocations: 27.92 kB / 415.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01999, allocations: 4 kB / 415.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.02001, allocations: 7.984 kB / 415.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.02001, allocations: 0 / 415.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02001, allocations: 0 / 415.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009699/0.02098, allocations: 312.7 kB / 415.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.02102, allocations: 23.94 kB / 415.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.02105, allocations: 8 kB / 415.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.02124, allocations: 19.97 kB / 416 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.02132, allocations: 15.97 kB / 416 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.02134, allocations: 11.98 kB / 416 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.02153, allocations: 167.5 kB / 416.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02153, allocations: 0 / 416.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.0218, allocations: 39.94 kB / 416.2 MB, free: 9.82 MB / 350.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.001696/0.02349, allocations: 462.7 kB / 416.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006939/0.02419, allocations: 244.8 kB / 416.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.02419, allocations: 0 / 416.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.02448, allocations: 80.12 kB / 417 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.02484, allocations: 44.41 kB / 417 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007716/0.02561, allocations: 318.2 kB / 417.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.02573, allocations: 108.2 kB / 417.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.809e-05/0.02582, allocations: 25.48 kB / 417.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.945e-05/0.02589, allocations: 28.48 kB / 417.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.02589, allocations: 0 / 417.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of Templates: time 0.007779/0.03366, allocations: 3.054 MB / 420.5 MB, free: 5.527 MB / 350.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 -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.593718219548464] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.04347314313054085 0.058077974000000004 0.045176635 Calling exit ...