Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.001535/0.001535, allocations: 84.25 kB / 22.21 MB, free: 2.289 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.001856/0.001856, allocations: 168 kB / 25.61 MB, free: 8.887 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.092/1.092, allocations: 177 MB / 205.9 MB, free: 4.41 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.194/0.194, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.7 MB " [Timeout remaining time 179] 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.Test74,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.543e-05/4.771e-05, allocations: 4.406 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003/0.003047, allocations: 1.928 MB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.004565, allocations: 1.093 MB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.004695, allocations: 4 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005323/0.005227, allocations: 255.2 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.005678, allocations: 239 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.005971, allocations: 119.6 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.006262, allocations: 279.2 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.006394, allocations: 21.91 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.006568, allocations: 163.5 kB / 384.2 MB, free: 18.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.006741, allocations: 187.6 kB / 384.4 MB, free: 18.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.006764, allocations: 12 kB / 384.4 MB, free: 18.35 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.006888, allocations: 63.91 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.128e-05/0.006969, allocations: 71.7 kB / 384.5 MB, free: 18.22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.007028, allocations: 51.78 kB / 384.6 MB, free: 18.17 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.007308, allocations: 203.1 kB / 384.8 MB, free: 17.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.007312, allocations: 0 / 384.8 MB, free: 17.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.007313, allocations: 0 / 384.8 MB, free: 17.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.00732, allocations: 0 / 384.8 MB, free: 17.97 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000566/0.007886, allocations: 0.6234 MB / 385.4 MB, free: 17.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.007925, allocations: 8.031 kB / 385.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.736e-05/0.007983, allocations: 44.69 kB / 385.4 MB, free: 17.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.008189, allocations: 227 kB / 385.7 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.008209, allocations: 8.312 kB / 385.7 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.008233, allocations: 12.33 kB / 385.7 MB, free: 16.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.00841, allocations: 114.2 kB / 385.8 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.008423, allocations: 192 / 385.8 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.008434, allocations: 4.375 kB / 385.8 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.008444, allocations: 7.938 kB / 385.8 MB, free: 16.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.596e-05/0.00849, allocations: 27.95 kB / 385.8 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.008942, allocations: 479.1 kB / 386.3 MB, free: 16.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.009207, allocations: 114.2 kB / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.168e-05/0.009249, allocations: 35.3 kB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.009271, allocations: 0 / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.009437, allocations: 127.7 kB / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.009439, allocations: 0 / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007865/0.01023, allocations: 374.1 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.01026, allocations: 77.11 kB / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.01046, allocations: 426.5 kB / 387.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.01048, allocations: 33.7 kB / 387.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.01055, allocations: 231.3 kB / 387.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.0106, allocations: 67.38 kB / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.01065, allocations: 51.34 kB / 387.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.582e-05/0.01073, allocations: 0.5351 MB / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.612e-05/0.01077, allocations: 27.97 kB / 388.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.248e-05/0.01083, allocations: 74.86 kB / 388.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.057e-05/0.01092, allocations: 114.4 kB / 388.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01092, allocations: 4 kB / 388.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001788/0.0111, allocations: 193.2 kB / 388.7 MB, free: 13.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01111, allocations: 4 kB / 388.7 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.01112, allocations: 4 kB / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.01113, allocations: 0 / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.543e-05/0.01123, allocations: 43.92 kB / 388.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.01123, allocations: 4 kB / 388.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.01128, allocations: 15.98 kB / 388.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.01129, allocations: 4 kB / 388.8 MB, free: 13.65 MB / 314.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 8.127e-05/0.01137, allocations: 176.5 kB / 389 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.0114, allocations: 43.77 kB / 389 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.01164, allocations: 228.1 kB / 389.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01164, allocations: 0 / 389.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.01165, allocations: 0 / 389.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.01165, allocations: 7.984 kB / 389.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.01212, allocations: 0.6987 MB / 390 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.01213, allocations: 4 kB / 390 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.677e-05/0.01218, allocations: 31.92 kB / 390 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.01219, allocations: 4 kB / 390 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.0122, allocations: 15.92 kB / 390 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.0122, allocations: 4 kB / 390 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.0122, allocations: 0 / 390 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.01245, allocations: 0.4984 MB / 390.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.01248, allocations: 35.89 kB / 390.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.01251, allocations: 15.92 kB / 390.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/0.01259, allocations: 4 kB / 390.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.01264, allocations: 19.97 kB / 390.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.01266, allocations: 12 kB / 390.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.01278, allocations: 271 kB / 390.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01278, allocations: 3.938 kB / 390.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.01304, allocations: 51.92 kB / 390.9 MB, free: 11.44 MB / 314.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.001263/0.0143, allocations: 490.6 kB / 391.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.0145, allocations: 115.4 kB / 391.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.01451, allocations: 0 / 391.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.148e-05/0.01458, allocations: 69.45 kB / 391.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.01496, allocations: 79.53 kB / 391.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006186/0.01558, allocations: 0.5146 MB / 392.2 MB, free: 10.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.828e-05/0.01565, allocations: 104.2 kB / 392.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.427e-05/0.01572, allocations: 41.92 kB / 392.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.01583, allocations: 118.2 kB / 392.4 MB, free: 10.03 MB / 314.7 MB Notification: Performance of SimCode: time 1.272e-06/0.01583, allocations: 0 / 392.4 MB, free: 10.03 MB / 314.7 MB Notification: Performance of Templates: time 0.006092/0.02192, allocations: 3.76 MB / 396.2 MB, free: 6.332 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.6479534367099404]