Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.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.001737/0.001737, allocations: 116.1 kB / 21.18 MB, free: 0.7422 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.002177/0.002177, allocations: 214.8 kB / 24.48 MB, free: 4.191 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.447/1.447, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2164/0.2164, allocations: 46.9 MB / 361.1 MB, free: 4.613 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7") [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.00242/0.00242, allocations: 75.88 kB / 0.4969 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3186, allocations: 66 MB / 0.5613 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003326/0.322, allocations: 1.775 MB / 0.563 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.3238, allocations: 1.057 MB / 0.5641 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.3239, allocations: 3.938 kB / 0.5641 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.3242, allocations: 103.7 kB / 0.5642 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.3245, allocations: 123.5 kB / 0.5643 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.3247, allocations: 83.66 kB / 0.5644 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.3249, allocations: 123.7 kB / 0.5645 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.325, allocations: 19.95 kB / 0.5645 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.3252, allocations: 55.78 kB / 0.5646 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.3253, allocations: 75.66 kB / 0.5646 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.3253, allocations: 4 kB / 0.5646 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.3254, allocations: 59.98 kB / 0.5647 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.3255, allocations: 23.91 kB / 0.5647 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.853e-05/0.3255, allocations: 47.67 kB / 0.5648 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.3258, allocations: 142 kB / 0.5649 GB, free: 1.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3258, allocations: 0 / 0.5649 GB, free: 1.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3258, allocations: 3.938 kB / 0.5649 GB, free: 1.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.3258, allocations: 4 kB / 0.5649 GB, free: 1.23 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.0006444/0.3264, allocations: 466.4 kB / 0.5653 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3265, allocations: 8.031 kB / 0.5654 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.3265, allocations: 12.84 kB / 0.5654 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.3268, allocations: 219.6 kB / 0.5656 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3268, allocations: 8.375 kB / 0.5656 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.3268, allocations: 4.328 kB / 0.5656 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.327, allocations: 69.97 kB / 0.5657 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.327, allocations: 3.938 kB / 0.5657 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.327, allocations: 0 / 0.5657 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.327, allocations: 4 kB / 0.5657 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.004e-05/0.3271, allocations: 27.97 kB / 0.5657 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.3275, allocations: 296.8 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.3278, allocations: 62.48 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.3278, allocations: 24.98 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.3279, allocations: 0 / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.328, allocations: 75.31 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.328, allocations: 0 / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007595/0.3288, allocations: 249.7 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.3288, allocations: 59.41 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.3291, allocations: 250.5 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.3291, allocations: 29.7 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.3292, allocations: 112.1 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.3292, allocations: 39.69 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.3292, allocations: 25.7 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3294, allocations: 330.8 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.082e-05/0.3295, allocations: 31.98 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.911e-05/0.3296, allocations: 53.64 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.3297, allocations: 73.7 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3297, allocations: 4 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002337/0.3299, allocations: 125.5 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.33, allocations: 10.48 kB / 0.5675 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.33, allocations: 0 / 0.5675 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.33, allocations: 8.031 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.3301, allocations: 16 kB / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3301, allocations: 0 / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.428e-05/0.3301, allocations: 15.98 kB / 0.5675 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.3301, allocations: 7.938 kB / 0.5675 GB, free: 14.32 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.0001179/0.3302, allocations: 133.8 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.3303, allocations: 15.91 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.3306, allocations: 147.2 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3306, allocations: 7.984 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3306, allocations: 0 / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.409e-05/0.3307, allocations: 89.02 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.3307, allocations: 7.938 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.253e-05/0.3308, allocations: 4 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.3308, allocations: 11.92 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002713/0.3311, allocations: 196.9 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003234/0.3314, allocations: 314.6 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.834e-05/0.3315, allocations: 35.92 kB / 0.5684 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.3316, allocations: 183.2 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of Backend: time 3.7e-07/0.3316, allocations: 0 / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002284/0.3339, allocations: 0.5306 MB / 0.5691 GB, free: 12.8 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008265/0.3348, allocations: 0.738 MB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of Templates: time 0.005581/0.3403, allocations: 2.134 MB / 0.5719 GB, free: 9.895 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.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.829797666985542]