Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.001332/0.001332, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001553/0.001553, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 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.026/1.026, allocations: 177 MB / 205.9 MB, free: 4.461 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.1733/0.1733, allocations: 34.88 MB / 297.4 MB, free: 13.43 MB / 282.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.899e-05, allocations: 2.312 kB / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002894/0.002923, allocations: 1.747 MB / 381.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.004307, allocations: 0.9891 MB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.004408, allocations: 7.875 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.004719, allocations: 43.81 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.00506, allocations: 99.47 kB / 383 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.005299, allocations: 79.61 kB / 383.1 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.005483, allocations: 115.5 kB / 383.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.444e-05/0.005578, allocations: 12 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.005685, allocations: 47.84 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.245e-05/0.005767, allocations: 27.89 kB / 383.3 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.005784, allocations: 4 kB / 383.3 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.005886, allocations: 47.92 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.005942, allocations: 27.91 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.005977, allocations: 15.94 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.006179, allocations: 103.5 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.006182, allocations: 4 kB / 383.5 MB, free: 19.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006183, allocations: 0 / 383.5 MB, free: 19.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.006189, allocations: 0 / 383.5 MB, free: 19.3 MB / 314.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.0004418/0.006631, allocations: 455.8 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.006673, allocations: 8.031 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.006725, allocations: 16.84 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.006893, allocations: 157.4 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.006914, allocations: 4.312 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.006935, allocations: 8.359 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.00706, allocations: 58.94 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.007072, allocations: 192 / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.007079, allocations: 384 / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.00709, allocations: 7.938 kB / 384.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.236e-05/0.007122, allocations: 11.98 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.007379, allocations: 256.5 kB / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.007484, allocations: 59.03 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.007508, allocations: 11.69 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.007523, allocations: 7.984 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.743e-05/0.00762, allocations: 61.05 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.007622, allocations: 0 / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000351/0.007973, allocations: 149.6 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.007998, allocations: 55.41 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.008116, allocations: 237.7 kB / 385 MB, free: 17.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.008128, allocations: 25.7 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.00817, allocations: 162.8 kB / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.008199, allocations: 15.86 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.008241, allocations: 39.28 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.224e-05/0.008293, allocations: 0.4962 MB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.008313, allocations: 8 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.073e-05/0.008344, allocations: 31.34 kB / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.335e-05/0.008397, allocations: 55.41 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.008398, allocations: 0 / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001128/0.008511, allocations: 89.47 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.008526, allocations: 8 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.008532, allocations: 0 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.008543, allocations: 0 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.393e-05/0.008617, allocations: 15.98 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.00862, allocations: 7.938 kB / 385.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.839e-05/0.008659, allocations: 0 / 385.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.008667, allocations: 8 kB / 385.9 MB, free: 16.59 MB / 314.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 5.799e-05/0.008725, allocations: 158.3 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.008747, allocations: 15.89 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.008894, allocations: 103.1 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.008897, allocations: 4 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.008899, allocations: 0 / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.008902, allocations: 0 / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.009171, allocations: 373.5 kB / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.009173, allocations: 0 / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.009206, allocations: 8 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.009209, allocations: 0 / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.009218, allocations: 12.02 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.00922, allocations: 3.938 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.009221, allocations: 0 / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.009352, allocations: 255.7 kB / 386.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.009367, allocations: 11.95 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.009386, allocations: 0 / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.118e-05/0.009447, allocations: 4 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.009474, allocations: 3.984 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.009487, allocations: 8 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.065e-05/0.009548, allocations: 176.1 kB / 387 MB, free: 15.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009548, allocations: 4 kB / 387.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.009792, allocations: 24 kB / 387.1 MB, free: 15.38 MB / 314.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.001122/0.01091, allocations: 442.2 kB / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.01102, allocations: 47.59 kB / 387.6 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.01103, allocations: 4 kB / 387.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.623e-05/0.01106, allocations: 27.66 kB / 387.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.01135, allocations: 27.92 kB / 387.6 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.01169, allocations: 235.9 kB / 387.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.542e-05/0.01172, allocations: 71.2 kB / 387.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.746e-05/0.01177, allocations: 13.28 kB / 387.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.01184, allocations: 90.19 kB / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of SimCode: time 1.703e-06/0.01184, allocations: 0 / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of Templates: time 0.00451/0.01635, allocations: 2.075 MB / 390.1 MB, free: 12.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.3696738933213055]