Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.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.001291/0.001291, allocations: 114.3 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.001459/0.001459, allocations: 210.9 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.421/1.421, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2209/0.2209, allocations: 46.89 MB / 361.1 MB, free: 4.664 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60") [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.002314/0.002314, allocations: 83.86 kB / 0.4969 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3105, allocations: 65.98 MB / 0.5613 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003262/0.3137, allocations: 1.741 MB / 0.563 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.3163, allocations: 1.738 MB / 0.5647 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.281e-05/0.3164, allocations: 0 / 0.5647 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.3167, allocations: 39.77 kB / 0.5647 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.317, allocations: 99.53 kB / 0.5648 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.3172, allocations: 87.59 kB / 0.5649 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.3174, allocations: 91.77 kB / 0.565 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.879e-05/0.3175, allocations: 11.98 kB / 0.565 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.3176, allocations: 55.77 kB / 0.5651 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.3177, allocations: 47.72 kB / 0.5651 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.3177, allocations: 4 kB / 0.5651 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.3179, allocations: 111.9 kB / 0.5652 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.318, allocations: 19.92 kB / 0.5652 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.318, allocations: 35.73 kB / 0.5653 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.3183, allocations: 166.2 kB / 0.5654 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3183, allocations: 0 / 0.5654 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3183, allocations: 0 / 0.5654 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.3184, allocations: 0 / 0.5654 GB, free: 0.7734 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.0005999/0.319, allocations: 434.5 kB / 0.5658 GB, free: 308 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.319, allocations: 12.02 kB / 0.5659 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.319, allocations: 12.84 kB / 0.5659 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.3193, allocations: 216.1 kB / 0.5661 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3194, allocations: 8.312 kB / 0.5661 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.3194, allocations: 8.125 kB / 0.5661 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.3196, allocations: 63.39 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3196, allocations: 8 kB / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3196, allocations: 0 / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3196, allocations: 0 / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.3197, allocations: 19.98 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.3201, allocations: 288.9 kB / 0.5664 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.3202, allocations: 50.62 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.3203, allocations: 24.84 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.3203, allocations: 3.938 kB / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.3204, allocations: 71.33 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.677e-06/0.3204, allocations: 3.984 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005577/0.321, allocations: 177.5 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.3211, allocations: 77.11 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.3212, allocations: 166.5 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.3213, allocations: 29.7 kB / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.3213, allocations: 100.1 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.3214, allocations: 31.73 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.3214, allocations: 25.7 kB / 0.5672 GB, free: 14.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3216, allocations: 322.8 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/0.3216, allocations: 20 kB / 0.5675 GB, free: 14.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/0.3217, allocations: 46.56 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.3218, allocations: 57.7 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3218, allocations: 0 / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002139/0.322, allocations: 97.58 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3221, allocations: 7.984 kB / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3221, allocations: 0 / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3221, allocations: 0 / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.639e-05/0.3222, allocations: 24 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3222, allocations: 0 / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.058e-05/0.3222, allocations: 4 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.3222, allocations: 11.92 kB / 0.5677 GB, free: 14.15 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.0001074/0.3223, allocations: 121.8 kB / 0.5679 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.3224, allocations: 7.953 kB / 0.5679 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.3226, allocations: 118.5 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3226, allocations: 0 / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3226, allocations: 7.938 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.3227, allocations: 89.02 kB / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.3227, allocations: 7.922 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.3228, allocations: 8 kB / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.3228, allocations: 0 / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002246/0.323, allocations: 168.9 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002874/0.3233, allocations: 282.6 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.438e-05/0.3234, allocations: 23.98 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.3235, allocations: 131.9 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of Backend: time 2.6e-07/0.3235, allocations: 192 / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002277/0.3258, allocations: 0.5621 MB / 0.5692 GB, free: 12.78 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007041/0.3265, allocations: 0.6614 MB / 0.5699 GB, free: 12.07 MB / 414.1 MB Notification: Performance of Templates: time 0.00586/0.3323, allocations: 2.433 MB / 0.5722 GB, free: 9.652 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.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.837406778242439]