Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001531/0.001531, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001809/0.001809, allocations: 208.7 kB / 24.49 MB, free: 3.965 MB / 14.72 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.2229/0.2229, allocations: 46.97 MB / 361.6 MB, free: 4.047 MB / 286.1 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.89 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2992, allocations: 66.04 MB / 0.5619 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003369/0.3026, allocations: 1.718 MB / 0.5636 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.3044, allocations: 0.9754 MB / 0.5645 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.075e-05/0.3045, allocations: 3.938 kB / 0.5645 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.3048, allocations: 87.7 kB / 0.5646 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.3051, allocations: 119.5 kB / 0.5647 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.3053, allocations: 83.66 kB / 0.5648 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.3055, allocations: 127.7 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.3056, allocations: 15.97 kB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.953e-05/0.3057, allocations: 51.78 kB / 0.565 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.3058, allocations: 71.8 kB / 0.5651 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.3058, allocations: 11.94 kB / 0.5651 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.3059, allocations: 59.97 kB / 0.5651 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.306, allocations: 31.84 kB / 0.5652 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.774e-05/0.3061, allocations: 27.81 kB / 0.5652 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.3063, allocations: 145.8 kB / 0.5653 GB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3063, allocations: 0 / 0.5653 GB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3063, allocations: 0 / 0.5653 GB, free: 0.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3063, allocations: 3.938 kB / 0.5653 GB, free: 0.6211 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005678/0.3069, allocations: 385.3 kB / 0.5657 GB, free: 220 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3069, allocations: 8.031 kB / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.3069, allocations: 12.84 kB / 0.5657 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.3072, allocations: 159.1 kB / 0.5659 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3072, allocations: 4.359 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.3073, allocations: 8.391 kB / 0.5659 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.3075, allocations: 69.58 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3075, allocations: 0 / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3075, allocations: 0 / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.3075, allocations: 0 / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.064e-05/0.3076, allocations: 31.92 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.3079, allocations: 248.4 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.3082, allocations: 62.55 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.215e-05/0.3083, allocations: 24.91 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.3083, allocations: 0 / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.3084, allocations: 75.39 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.3084, allocations: 0 / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007932/0.3092, allocations: 253.2 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.3093, allocations: 51.41 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.3095, allocations: 239 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.3095, allocations: 29.7 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.043e-05/0.3096, allocations: 116 kB / 0.567 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.3097, allocations: 35.73 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.3097, allocations: 25.7 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3098, allocations: 334.8 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.754e-05/0.3099, allocations: 27.98 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.31, allocations: 41.7 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.3102, allocations: 97.69 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3102, allocations: 0 / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002494/0.3104, allocations: 133.5 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3104, allocations: 8 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3104, allocations: 0 / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3105, allocations: 0 / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3106, allocations: 23.98 kB / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3106, allocations: 4 kB / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.885e-05/0.3106, allocations: 0 / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.3106, allocations: 11.97 kB / 0.5677 GB, free: 13.96 MB / 414.1 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 (13): * Single equations (assignments): 13 * 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 0.0001172/0.3108, allocations: 136.7 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.3108, allocations: 15.91 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.3111, allocations: 159.6 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3111, allocations: 0 / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3111, allocations: 3.984 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.3112, allocations: 7.953 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.3112, allocations: 7.938 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.732e-05/0.3112, allocations: 4 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.3113, allocations: 7.984 kB / 0.5681 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002962/0.3116, allocations: 216.8 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003787/0.3119, allocations: 314.6 kB / 0.5686 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.484e-05/0.312, allocations: 36.42 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.3122, allocations: 179.2 kB / 0.5688 GB, free: 12.85 MB / 414.1 MB Notification: Performance of Backend: time 3.4e-07/0.3122, allocations: 0 / 0.5688 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.3147, allocations: 0.5876 MB / 0.5694 GB, free: 12.5 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008097/0.3155, allocations: 0.7062 MB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of Templates: time 0.005942/0.3214, allocations: 2.352 MB / 0.5723 GB, free: 9.434 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.704729848999705]