Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.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.001652/0.001652, allocations: 114 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.001994/0.001994, allocations: 214.1 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.432/1.432, 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.241/0.241, allocations: 46.89 MB / 361.1 MB, free: 4.609 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27") [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.002226/0.002226, allocations: 83.88 kB / 0.4969 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3394, allocations: 65.99 MB / 0.5613 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003298/0.3427, allocations: 1.737 MB / 0.563 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.3445, allocations: 1.049 MB / 0.564 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.3446, allocations: 4 kB / 0.564 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.3448, allocations: 39.77 kB / 0.5641 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.3451, allocations: 99.53 kB / 0.5642 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.3453, allocations: 79.66 kB / 0.5642 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.3455, allocations: 107.7 kB / 0.5643 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.963e-05/0.3456, allocations: 8 kB / 0.5643 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.3457, allocations: 47.77 kB / 0.5644 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.684e-05/0.3458, allocations: 27.86 kB / 0.5644 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.3458, allocations: 4 kB / 0.5644 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.705e-05/0.3459, allocations: 39.98 kB / 0.5645 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.346, allocations: 23.91 kB / 0.5645 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.3461, allocations: 39.67 kB / 0.5645 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.3463, allocations: 122.2 kB / 0.5646 GB, free: 1.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3463, allocations: 0 / 0.5646 GB, free: 1.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3463, allocations: 3.938 kB / 0.5646 GB, free: 1.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.83e-06/0.3463, allocations: 0 / 0.5646 GB, free: 1.555 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.0005982/0.3469, allocations: 426.7 kB / 0.565 GB, free: 1.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.3469, allocations: 8.031 kB / 0.565 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.347, allocations: 8.891 kB / 0.5651 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.3473, allocations: 220.8 kB / 0.5653 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3473, allocations: 4.375 kB / 0.5653 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.3473, allocations: 4.312 kB / 0.5653 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3475, allocations: 57.98 kB / 0.5653 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3475, allocations: 0 / 0.5653 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3475, allocations: 4 kB / 0.5653 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3475, allocations: 4 kB / 0.5653 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.531e-05/0.3476, allocations: 19.98 kB / 0.5654 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.348, allocations: 288.9 kB / 0.5656 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.3482, allocations: 54.61 kB / 0.5657 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.031e-05/0.3482, allocations: 24.84 kB / 0.5657 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.3482, allocations: 0 / 0.5657 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.3484, allocations: 67.39 kB / 0.5658 GB, free: 228 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.3484, allocations: 0 / 0.5658 GB, free: 228 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005397/0.3489, allocations: 177.3 kB / 0.5659 GB, free: 44 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.349, allocations: 55.41 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.3492, allocations: 206.2 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3492, allocations: 25.7 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.422e-05/0.3493, allocations: 108.1 kB / 0.5663 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.3493, allocations: 27.78 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.3494, allocations: 17.72 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3495, allocations: 330.8 kB / 0.5667 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.016e-05/0.3496, allocations: 23.94 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.3497, allocations: 37.7 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.3498, allocations: 65.7 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3498, allocations: 0 / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001875/0.35, allocations: 97.53 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.35, allocations: 10.34 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.35, allocations: 0 / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.35, allocations: 3.984 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.3501, allocations: 12 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3501, allocations: 8.031 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.3502, allocations: 4 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.3502, allocations: 4 kB / 0.5669 GB, free: 14.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 (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.0001175/0.3503, allocations: 129.7 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.3503, allocations: 11.91 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.3506, allocations: 123.2 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3506, allocations: 0 / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3506, allocations: 0 / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.3507, allocations: 89.06 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.3507, allocations: 3.984 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.425e-05/0.3508, allocations: 8.312 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.3508, allocations: 4 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002682/0.3511, allocations: 172.9 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003286/0.3514, allocations: 274.7 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.92e-05/0.3515, allocations: 31.98 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.3517, allocations: 152.2 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of Backend: time 8.52e-07/0.3517, allocations: 3.938 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002338/0.354, allocations: 485.3 kB / 0.5684 GB, free: 13.61 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008774/0.3549, allocations: 0.675 MB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of Templates: time 0.005054/0.3599, allocations: 1.815 MB / 0.5708 GB, free: 11.09 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.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.848407578654587]