Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.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.001363/0.001363, allocations: 112.2 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001756/0.001756, allocations: 207 kB / 24.48 MB, free: 4.035 MB / 14.72 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.399/1.399, allocations: 230.2 MB / 257.8 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2208/0.2208, allocations: 46.9 MB / 361.1 MB, free: 4.645 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-beta.om/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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002499/0.002499, allocations: 79.88 kB / 0.4969 GB, free: 8.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.305, allocations: 65.96 MB / 0.5613 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002427/0.3074, allocations: 1.752 MB / 0.563 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.3086, allocations: 1.045 MB / 0.564 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.3086, allocations: 0 / 0.564 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.3089, allocations: 36.77 kB / 0.564 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.3091, allocations: 97.12 kB / 0.5641 GB, free: 32.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.3093, allocations: 80.09 kB / 0.5642 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.3094, allocations: 104.3 kB / 0.5643 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.635e-05/0.3095, allocations: 7.625 kB / 0.5643 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.239e-05/0.3095, allocations: 46.7 kB / 0.5644 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.788e-05/0.3096, allocations: 35.89 kB / 0.5644 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.3096, allocations: 3 kB / 0.5644 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-05/0.3097, allocations: 41.59 kB / 0.5644 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/0.3097, allocations: 21.27 kB / 0.5645 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.3098, allocations: 33.34 kB / 0.5645 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.3099, allocations: 111 kB / 0.5646 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3099, allocations: 1.562 kB / 0.5646 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3099, allocations: 3 kB / 0.5646 GB, free: 32.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.3099, allocations: 0 / 0.5646 GB, free: 32.31 MB / 446.1 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.0003881/0.3103, allocations: 420.2 kB / 0.565 GB, free: 31.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.3104, allocations: 8.875 kB / 0.565 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.3104, allocations: 10.52 kB / 0.565 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.3106, allocations: 212.3 kB / 0.5652 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.3106, allocations: 3.375 kB / 0.5652 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.3106, allocations: 3.375 kB / 0.5652 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.3107, allocations: 60.36 kB / 0.5653 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3107, allocations: 10.42 kB / 0.5653 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.3107, allocations: 0 / 0.5653 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.3107, allocations: 0 / 0.5653 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.142e-05/0.3108, allocations: 23.36 kB / 0.5653 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.311, allocations: 279.6 kB / 0.5656 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.3112, allocations: 62.52 kB / 0.5656 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.3112, allocations: 20.17 kB / 0.5657 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.3112, allocations: 3.125 kB / 0.5657 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.3113, allocations: 63.7 kB / 0.5657 GB, free: 31.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.3113, allocations: 0 / 0.5657 GB, free: 31.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004393/0.3118, allocations: 179.1 kB / 0.5659 GB, free: 31.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.538e-05/0.3118, allocations: 52.09 kB / 0.5659 GB, free: 31.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3119, allocations: 171.1 kB / 0.5661 GB, free: 30.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.3119, allocations: 29.7 kB / 0.5661 GB, free: 30.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.3119, allocations: 97.02 kB / 0.5662 GB, free: 30.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.312, allocations: 29.34 kB / 0.5663 GB, free: 30.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.312, allocations: 20 kB / 0.5663 GB, free: 30.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.803e-05/0.312, allocations: 336.6 kB / 0.5666 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.908e-05/0.3121, allocations: 20.75 kB / 0.5666 GB, free: 30.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.888e-05/0.3121, allocations: 37.09 kB / 0.5667 GB, free: 30.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.827e-05/0.3122, allocations: 58.95 kB / 0.5667 GB, free: 30.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3122, allocations: 0 / 0.5667 GB, free: 30.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001432/0.3124, allocations: 112.5 kB / 0.5668 GB, free: 30.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.3124, allocations: 9.469 kB / 0.5668 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3124, allocations: 0 / 0.5668 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3124, allocations: 0 / 0.5668 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.3125, allocations: 16.11 kB / 0.5668 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.3125, allocations: 3.031 kB / 0.5668 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.001e-05/0.3125, allocations: 0 / 0.5668 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.3125, allocations: 11.28 kB / 0.5669 GB, free: 30.31 MB / 446.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 (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.861e-05/0.3126, allocations: 128.2 kB / 0.567 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.3126, allocations: 13.97 kB / 0.567 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.3128, allocations: 110.9 kB / 0.5671 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3128, allocations: 0.5 kB / 0.5671 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3128, allocations: 1.062 kB / 0.5671 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.3128, allocations: 87.7 kB / 0.5672 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.3128, allocations: 192 / 0.5672 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.618e-05/0.3129, allocations: 10.69 kB / 0.5672 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.3129, allocations: 14.28 kB / 0.5672 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001543/0.3131, allocations: 169.4 kB / 0.5674 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001719/0.3132, allocations: 272.8 kB / 0.5676 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.487e-05/0.3133, allocations: 32.33 kB / 0.5677 GB, free: 29.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.191e-05/0.3134, allocations: 134.5 kB / 0.5678 GB, free: 29.55 MB / 446.1 MB Notification: Performance of Backend: time 2.4e-07/0.3134, allocations: 0 / 0.5678 GB, free: 29.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.3152, allocations: 480.3 kB / 0.5682 GB, free: 29.36 MB / 446.1 MB Notification: Performance of SimCode: time 0.0004134/0.3156, allocations: 0.663 MB / 0.5689 GB, free: 28.73 MB / 446.1 MB Notification: Performance of Templates: time 0.004101/0.3197, allocations: 1.812 MB / 0.5707 GB, free: 28.53 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.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.721103032119572]