Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001245/0.001245, allocations: 79.59 kB / 21.18 MB, free: 3.379 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.001462/0.001462, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.01/1.01, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3026/0.3026, allocations: 34.26 MB / 295.7 MB, free: 0.7539 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.78e-05, allocations: 2.312 kB / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002647/0.002675, allocations: 1.945 MB / 380.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.004131, allocations: 1.107 MB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.004242, allocations: 0 / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005116/0.004753, allocations: 227.2 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004468/0.0052, allocations: 227 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.005397, allocations: 115.6 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.005675, allocations: 267.2 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.005786, allocations: 13.97 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.005935, allocations: 147.6 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.006091, allocations: 155.6 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.006113, allocations: 8 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.38e-05/0.006207, allocations: 63.92 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.186e-05/0.006279, allocations: 67.75 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.006336, allocations: 47.78 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.006564, allocations: 195.2 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.006566, allocations: 3.938 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.006568, allocations: 3.984 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.006573, allocations: 0 / 382.7 MB, free: 13.97 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006065/0.007179, allocations: 0.604 MB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.00722, allocations: 8.031 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.861e-05/0.007289, allocations: 36.75 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.007525, allocations: 220.6 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.007553, allocations: 4.375 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.00758, allocations: 16.36 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.007761, allocations: 114.2 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.007779, allocations: 7.891 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.007794, allocations: 7.984 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.007804, allocations: 4 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.462e-05/0.007858, allocations: 23.97 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.008356, allocations: 0.514 MB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.008631, allocations: 118.1 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.008682, allocations: 43.48 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.008699, allocations: 4 kB / 384.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.008866, allocations: 120.2 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.008868, allocations: 0 / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007864/0.009654, allocations: 473.8 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.009695, allocations: 85.05 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.009952, allocations: 398.3 kB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.009971, allocations: 37.7 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.01007, allocations: 215.3 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.405e-05/0.01012, allocations: 75.42 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.01017, allocations: 47.36 kB / 385.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.01033, allocations: 0.5235 MB / 386.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.052e-05/0.01038, allocations: 35.92 kB / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.01045, allocations: 86.64 kB / 386.5 MB, free: 9.926 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.01058, allocations: 122.8 kB / 386.6 MB, free: 9.789 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01058, allocations: 4 kB / 386.6 MB, free: 9.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002149/0.0108, allocations: 197.3 kB / 386.8 MB, free: 9.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.01081, allocations: 10.03 kB / 386.8 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01082, allocations: 0 / 386.8 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.01083, allocations: 4 kB / 386.8 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.01095, allocations: 43.92 kB / 386.8 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.01095, allocations: 7.938 kB / 386.9 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.011, allocations: 11.98 kB / 386.9 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.01101, allocations: 4 kB / 386.9 MB, free: 9.508 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.829e-05/0.01111, allocations: 176.6 kB / 387 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.01114, allocations: 43.77 kB / 387.1 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.01143, allocations: 228.4 kB / 387.3 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.01143, allocations: 4 kB / 387.3 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.01144, allocations: 7.922 kB / 387.3 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01144, allocations: 0 / 387.3 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005692/0.01201, allocations: 0.7489 MB / 388.1 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01202, allocations: 128 / 388.1 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.922e-05/0.01208, allocations: 43.92 kB / 388.1 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.01208, allocations: 0 / 388.1 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.01209, allocations: 4 kB / 388.1 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.0121, allocations: 7.984 kB / 388.1 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.0121, allocations: 7.938 kB / 388.1 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.01239, allocations: 0.5121 MB / 388.6 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.403e-05/0.01242, allocations: 31.77 kB / 388.7 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.01245, allocations: 11.98 kB / 388.7 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.01252, allocations: 4 kB / 388.7 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.01257, allocations: 27.91 kB / 388.7 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.0126, allocations: 12 kB / 388.7 MB, free: 7.539 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001785/0.01278, allocations: 278.9 kB / 389 MB, free: 7.266 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01278, allocations: 4 kB / 389 MB, free: 7.262 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002283/0.01301, allocations: 47.94 kB / 389 MB, free: 7.215 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001201/0.01421, allocations: 0.4885 MB / 389.5 MB, free: 6.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.0144, allocations: 128 kB / 389.7 MB, free: 6.781 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0144, allocations: 0 / 389.7 MB, free: 6.781 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.01448, allocations: 75.53 kB / 389.7 MB, free: 6.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.01483, allocations: 76.81 kB / 389.8 MB, free: 6.633 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005725/0.0154, allocations: 0.4977 MB / 390.3 MB, free: 6.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.586e-05/0.01548, allocations: 96.3 kB / 390.4 MB, free: 5.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.944e-05/0.01555, allocations: 33.92 kB / 390.4 MB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.01561, allocations: 36.44 kB / 390.5 MB, free: 5.902 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01561, allocations: 4 kB / 390.5 MB, free: 5.898 MB / 362.7 MB Notification: Performance of Templates: time 0.006109/0.02172, allocations: 3.612 MB / 394.1 MB, free: 2.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.345727460924536]