Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.001554/0.001554, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001262/0.001262, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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.027/1.027, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2742/0.2742, allocations: 34.87 MB / 296.3 MB, free: 484 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 378.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.43e-05/3.596e-05, allocations: 6.875 kB / 378.9 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002571/0.002607, allocations: 1.764 MB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.004038, allocations: 1.016 MB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.311e-05/0.004121, allocations: 0 / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.004428, allocations: 43.7 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.004774, allocations: 99.53 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.005021, allocations: 83.59 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.005197, allocations: 103.6 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.3e-05/0.00529, allocations: 11.98 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.974e-05/0.00538, allocations: 55.78 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.455e-05/0.005454, allocations: 27.91 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.00547, allocations: 4 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.972e-05/0.00556, allocations: 43.92 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.00561, allocations: 23.92 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.005652, allocations: 23.91 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.005847, allocations: 103.5 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.00585, allocations: 0 / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005851, allocations: 4 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.005856, allocations: 0 / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004812/0.006337, allocations: 447.9 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.006373, allocations: 8.031 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.006427, allocations: 16.84 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.006609, allocations: 145.1 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.006632, allocations: 4.375 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.006655, allocations: 4.375 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.006805, allocations: 66.88 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.006816, allocations: 192 / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.006826, allocations: 384 / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.006834, allocations: 3.938 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.389e-05/0.006868, allocations: 15.98 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.007194, allocations: 291.8 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.007303, allocations: 51.11 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.007336, allocations: 23.67 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.007348, allocations: 0 / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.007454, allocations: 68.98 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.007455, allocations: 3.938 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004434/0.007899, allocations: 149.4 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.00793, allocations: 55.41 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.008068, allocations: 242.3 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.00808, allocations: 25.7 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.626e-05/0.008136, allocations: 150.9 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.008164, allocations: 23.8 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.008199, allocations: 31.36 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.008317, allocations: 0.4962 MB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.008342, allocations: 8 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/0.008381, allocations: 39.3 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/0.008441, allocations: 51.36 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.008442, allocations: 0 / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001178/0.00856, allocations: 101.5 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.008575, allocations: 8 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.00858, allocations: 384 / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.008597, allocations: 0 / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/0.008679, allocations: 15.98 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.008687, allocations: 4 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.008717, allocations: 4 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.008724, allocations: 4 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.61e-05/0.0088, allocations: 168.5 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.00882, allocations: 23.88 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.008978, allocations: 99.06 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.008981, allocations: 4 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.008985, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.008988, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.009294, allocations: 400.9 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.009295, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.009324, allocations: 8 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.009328, allocations: 4.031 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.009336, allocations: 4 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.009338, allocations: 0 / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.00934, allocations: 0 / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.00949, allocations: 259.7 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.009506, allocations: 19.89 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.009525, allocations: 7.938 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.009573, allocations: 0 / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.009609, allocations: 11.98 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.009624, allocations: 4 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.738e-05/0.009702, allocations: 167.2 kB / 385.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009702, allocations: 4 kB / 385.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001739/0.009876, allocations: 27.92 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009237/0.0108, allocations: 438.5 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.01094, allocations: 47.61 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01094, allocations: 0 / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.223e-05/0.01098, allocations: 35.61 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.01122, allocations: 27.97 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.0116, allocations: 222.1 kB / 386.7 MB, free: 9.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.139e-05/0.01164, allocations: 67.33 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.81e-05/0.01168, allocations: 21.22 kB / 386.8 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.01171, allocations: 20.48 kB / 386.8 MB, free: 9.715 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01171, allocations: 0 / 386.8 MB, free: 9.715 MB / 362.7 MB Notification: Performance of Templates: time 0.00394/0.01565, allocations: 2.01 MB / 388.8 MB, free: 7.734 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2167231398634613]