Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.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.001293/0.001293, allocations: 113.9 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.001555/0.001555, allocations: 209.8 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.429/1.429, allocations: 230.2 MB / 257.8 MB, free: 8.52 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.2249/0.2249, allocations: 46.9 MB / 361.1 MB, free: 4.738 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51") [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.002541/0.002541, allocations: 83.86 kB / 0.4968 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3094, allocations: 65.98 MB / 0.5613 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003164/0.3126, allocations: 1.752 MB / 0.563 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.3143, allocations: 1.045 MB / 0.564 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.852e-05/0.3144, allocations: 4 kB / 0.564 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.3148, allocations: 55.75 kB / 0.5641 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.3152, allocations: 91.59 kB / 0.5642 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.3154, allocations: 83.61 kB / 0.5642 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.3156, allocations: 99.73 kB / 0.5643 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.3157, allocations: 8 kB / 0.5643 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.3158, allocations: 47.78 kB / 0.5644 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.362e-05/0.3159, allocations: 35.72 kB / 0.5644 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3159, allocations: 8 kB / 0.5644 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.316, allocations: 39.98 kB / 0.5645 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.243e-05/0.316, allocations: 23.92 kB / 0.5645 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.213e-05/0.3161, allocations: 47.66 kB / 0.5645 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.3163, allocations: 130.2 kB / 0.5647 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3164, allocations: 0 / 0.5647 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3164, allocations: 0 / 0.5647 GB, free: 1.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3164, allocations: 0 / 0.5647 GB, free: 1.574 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006253/0.317, allocations: 442.5 kB / 0.5651 GB, free: 1.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.317, allocations: 12.03 kB / 0.5651 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.3171, allocations: 8.891 kB / 0.5651 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.3174, allocations: 224.8 kB / 0.5653 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3174, allocations: 4.375 kB / 0.5653 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.3174, allocations: 4.375 kB / 0.5653 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.3176, allocations: 57.98 kB / 0.5654 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3176, allocations: 0 / 0.5654 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3176, allocations: 0 / 0.5654 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3176, allocations: 0 / 0.5654 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.636e-05/0.3177, allocations: 27.92 kB / 0.5654 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.3181, allocations: 296.8 kB / 0.5657 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.3183, allocations: 46.62 kB / 0.5657 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.3183, allocations: 28.83 kB / 0.5658 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.3184, allocations: 7.938 kB / 0.5658 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.3185, allocations: 67.39 kB / 0.5658 GB, free: 208 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3185, allocations: 0 / 0.5658 GB, free: 208 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005568/0.3191, allocations: 185.5 kB / 0.566 GB, free: 16 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.3192, allocations: 51.41 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.3194, allocations: 235 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.3194, allocations: 33.7 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.3195, allocations: 116 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.3195, allocations: 27.78 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.3196, allocations: 25.7 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3197, allocations: 330.8 kB / 0.5668 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.196e-05/0.3198, allocations: 19.98 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.657e-05/0.3199, allocations: 33.7 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.32, allocations: 65.66 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.32, allocations: 4 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001956/0.3202, allocations: 105.5 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3202, allocations: 10.34 kB / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3202, allocations: 0 / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3202, allocations: 0 / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.3203, allocations: 15.98 kB / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.3203, allocations: 4 kB / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.315e-05/0.3204, allocations: 0 / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.3204, allocations: 8.031 kB / 0.567 GB, free: 14.89 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 (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 0.0001244/0.3205, allocations: 133.8 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.3205, allocations: 15.91 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.3208, allocations: 115 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3208, allocations: 0 / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3208, allocations: 0 / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.3209, allocations: 85.06 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.3209, allocations: 0 / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.625e-05/0.3209, allocations: 15.92 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.321, allocations: 4 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002328/0.3212, allocations: 180.9 kB / 0.5676 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000277/0.3215, allocations: 275 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.459e-05/0.3215, allocations: 28.05 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001652/0.3217, allocations: 176.3 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of Backend: time 3.8e-07/0.3217, allocations: 4 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002098/0.3238, allocations: 482.4 kB / 0.5685 GB, free: 13.52 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007807/0.3246, allocations: 0.7214 MB / 0.5692 GB, free: 12.75 MB / 414.1 MB Notification: Performance of Templates: time 0.005108/0.3297, allocations: 1.827 MB / 0.571 GB, free: 10.93 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.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.794724671635777]