Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001437/0.001437, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001892/0.001892, allocations: 206.1 kB / 24.48 MB, free: 3.695 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.513/1.513, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2269/0.2269, allocations: 46.96 MB / 361.6 MB, free: 4.043 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.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_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_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 67.91 kB / 0.4974 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3158, allocations: 66.04 MB / 0.5619 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003267/0.319, allocations: 1.736 MB / 0.5636 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.3208, allocations: 0.9715 MB / 0.5645 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.3209, allocations: 0 / 0.5645 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.3212, allocations: 107.7 kB / 0.5646 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.3216, allocations: 131.5 kB / 0.5648 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.3218, allocations: 83.72 kB / 0.5648 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.322, allocations: 127.6 kB / 0.565 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3221, allocations: 11.98 kB / 0.565 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.3222, allocations: 59.72 kB / 0.565 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.3223, allocations: 71.78 kB / 0.5651 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.3224, allocations: 4 kB / 0.5651 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.3225, allocations: 59.97 kB / 0.5652 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.3225, allocations: 35.8 kB / 0.5652 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/0.3226, allocations: 31.73 kB / 0.5652 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.3229, allocations: 149.8 kB / 0.5654 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3229, allocations: 0 / 0.5654 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3229, allocations: 4 kB / 0.5654 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.3229, allocations: 0 / 0.5654 GB, free: 0.5859 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.000614/0.3235, allocations: 381.3 kB / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3235, allocations: 12.03 kB / 0.5657 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.3236, allocations: 12.84 kB / 0.5658 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.3239, allocations: 170.5 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.3239, allocations: 384 / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.3239, allocations: 12.08 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.3241, allocations: 61.66 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3241, allocations: 4 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3241, allocations: 4 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3241, allocations: 7.938 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.15e-05/0.3242, allocations: 19.98 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.3246, allocations: 252.4 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.3249, allocations: 58.55 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.684e-05/0.3249, allocations: 20.97 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.325, allocations: 4 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.3251, allocations: 75.39 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3251, allocations: 4 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008304/0.326, allocations: 249.2 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.326, allocations: 55.41 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.3263, allocations: 254.7 kB / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.3263, allocations: 33.7 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.233e-05/0.3264, allocations: 112.1 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.3264, allocations: 35.69 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.3265, allocations: 29.7 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3266, allocations: 322.8 kB / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.827e-05/0.3267, allocations: 35.98 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.975e-05/0.3268, allocations: 49.45 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.327, allocations: 93.62 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.327, allocations: 0 / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002559/0.3272, allocations: 133.5 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3272, allocations: 4 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.3272, allocations: 0 / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3272, allocations: 4 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.692e-05/0.3273, allocations: 24.02 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3273, allocations: 0 / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.277e-05/0.3274, allocations: 7.938 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.3274, allocations: 8 kB / 0.5678 GB, free: 13.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 (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.0001235/0.3275, allocations: 133.8 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.3276, allocations: 11.91 kB / 0.5679 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/0.3279, allocations: 163.6 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3279, allocations: 3.984 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3279, allocations: 0 / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3279, allocations: 11.92 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.3285, allocations: 399.7 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3285, allocations: 0 / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-05/0.3285, allocations: 23.98 kB / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3285, allocations: 3.938 kB / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3285, allocations: 0 / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3285, allocations: 7.984 kB / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3285, allocations: 0 / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.3288, allocations: 245 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.3289, allocations: 19.97 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.3289, allocations: 7.938 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.329, allocations: 8.078 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.329, allocations: 11.92 kB / 0.5688 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.329, allocations: 4 kB / 0.5688 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.3292, allocations: 196.2 kB / 0.569 GB, free: 12.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3292, allocations: 0 / 0.569 GB, free: 12.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.3295, allocations: 27.94 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002083/0.3316, allocations: 0.5575 MB / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.3318, allocations: 75.91 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3318, allocations: 0 / 0.5696 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.281e-05/0.3319, allocations: 39.92 kB / 0.5697 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.3323, allocations: 37.47 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006254/0.3329, allocations: 334.2 kB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.333, allocations: 109.3 kB / 0.5701 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.3331, allocations: 27.38 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3331, allocations: 0 / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of Templates: time 0.00464/0.3377, allocations: 2.344 MB / 0.5725 GB, free: 9.234 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 7.970496098016156]