Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2286/0.2286, allocations: 46.97 MB / 361.6 MB, free: 4.152 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 63.89 kB / 0.4974 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3089, allocations: 66.04 MB / 0.5619 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003726/0.3126, allocations: 2.173 MB / 0.564 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.3149, allocations: 1.263 MB / 0.5653 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.315, allocations: 7.938 kB / 0.5653 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.3154, allocations: 143.2 kB / 0.5654 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005529/0.316, allocations: 266.9 kB / 0.5657 GB, free: 316 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.3163, allocations: 187.5 kB / 0.5658 GB, free: 128 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005368/0.3169, allocations: 474.6 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.317, allocations: 48.91 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003901/0.3174, allocations: 334.9 kB / 0.5667 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.3176, allocations: 187.1 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.816e-05/0.3177, allocations: 16 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.3178, allocations: 71.98 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.318, allocations: 155.4 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.3182, allocations: 150.7 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005555/0.3187, allocations: 496.3 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3187, allocations: 0 / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3187, allocations: 0 / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3187, allocations: 0 / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001217/0.32, allocations: 0.8457 MB / 0.5685 GB, free: 13.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.32, allocations: 8.031 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.3201, allocations: 76.45 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/0.3207, allocations: 371 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.3207, allocations: 8.375 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.3207, allocations: 28.06 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.3212, allocations: 193.5 kB / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.3212, allocations: 0 / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.3212, allocations: 8 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3212, allocations: 4 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.3215, allocations: 103.9 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009556/0.3224, allocations: 0.7427 MB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/0.3231, allocations: 250.4 kB / 0.5702 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.3233, allocations: 87.52 kB / 0.5703 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.3233, allocations: 4 kB / 0.5703 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003894/0.3237, allocations: 208.2 kB / 0.5705 GB, free: 11.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.3237, allocations: 0 / 0.5705 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002688/0.3264, allocations: 1.238 MB / 0.5717 GB, free: 9.879 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.3265, allocations: 132.5 kB / 0.5719 GB, free: 9.719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.3276, allocations: 0.9731 MB / 0.5728 GB, free: 8.734 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.3276, allocations: 45.62 kB / 0.5728 GB, free: 8.684 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.3279, allocations: 277 kB / 0.5731 GB, free: 8.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.328, allocations: 146.8 kB / 0.5733 GB, free: 8.266 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.3281, allocations: 78.09 kB / 0.5733 GB, free: 8.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3283, allocations: 329.9 kB / 0.5736 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.3285, allocations: 124.8 kB / 0.5738 GB, free: 7.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.3288, allocations: 191.1 kB / 0.5739 GB, free: 7.523 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/0.3294, allocations: 322.8 kB / 0.5743 GB, free: 7.184 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3294, allocations: 0 / 0.5743 GB, free: 7.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007991/0.3302, allocations: 460.8 kB / 0.5747 GB, free: 6.727 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3302, allocations: 8 kB / 0.5747 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3302, allocations: 0 / 0.5747 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3302, allocations: 4 kB / 0.5747 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.3305, allocations: 87.89 kB / 0.5748 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.3305, allocations: 4 kB / 0.5748 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.3307, allocations: 20 kB / 0.5748 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.3307, allocations: 23.98 kB / 0.5748 GB, free: 6.582 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002914/0.331, allocations: 268.1 kB / 0.5751 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.3311, allocations: 79.48 kB / 0.5752 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.3322, allocations: 0.5424 MB / 0.5757 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.3322, allocations: 7.984 kB / 0.5757 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3322, allocations: 0 / 0.5757 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.3324, allocations: 111.5 kB / 0.5758 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.984e-05/0.3325, allocations: 19.94 kB / 0.5758 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.3327, allocations: 11.98 kB / 0.5758 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.3328, allocations: 39.94 kB / 0.5759 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001014/0.3338, allocations: 0.7452 MB / 0.5766 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001029/0.3348, allocations: 0.8778 MB / 0.5775 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002857/0.3351, allocations: 151.8 kB / 0.5776 GB, free: 3.691 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008171/0.3359, allocations: 0.7099 MB / 0.5783 GB, free: 2.988 MB / 414.1 MB Notification: Performance of Backend: time 5.71e-07/0.3359, allocations: 0 / 0.5783 GB, free: 2.988 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00309/0.339, allocations: 0.8171 MB / 0.5791 GB, free: 2.414 MB / 414.1 MB Notification: Performance of SimCode: time 0.002014/0.341, allocations: 1.522 MB / 0.5806 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of Templates: time 0.0135/0.3545, allocations: 6.899 MB / 0.5873 GB, free: 10.04 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.977636982002878]