Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.00137/0.00137, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00151/0.00151, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.496/1.496, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.2354/0.2354, allocations: 46.98 MB / 361.6 MB, free: 4.004 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 71.91 kB / 0.4974 GB, free: 7.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3026, allocations: 66.04 MB / 0.5619 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003204/0.3058, allocations: 1.726 MB / 0.5636 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.3076, allocations: 0.9793 MB / 0.5645 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.774e-05/0.3077, allocations: 0 / 0.5645 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.308, allocations: 107.7 kB / 0.5646 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.3083, allocations: 135.4 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.3086, allocations: 83.72 kB / 0.5648 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.3088, allocations: 127.7 kB / 0.565 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.3088, allocations: 11.98 kB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.309, allocations: 71.69 kB / 0.565 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.3091, allocations: 71.75 kB / 0.5651 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.3091, allocations: 7.984 kB / 0.5651 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.3092, allocations: 59.97 kB / 0.5652 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.322e-05/0.3093, allocations: 31.86 kB / 0.5652 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.335e-05/0.3094, allocations: 43.66 kB / 0.5652 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.3096, allocations: 162 kB / 0.5654 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3096, allocations: 0 / 0.5654 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3096, allocations: 0 / 0.5654 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3096, allocations: 0 / 0.5654 GB, free: 0.6602 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006086/0.3102, allocations: 389.2 kB / 0.5658 GB, free: 256 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3103, allocations: 12.03 kB / 0.5658 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.3103, allocations: 12.84 kB / 0.5658 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.3106, allocations: 167.2 kB / 0.566 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3106, allocations: 4.375 kB / 0.566 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.3106, allocations: 16.11 kB / 0.566 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.3108, allocations: 65.66 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3108, allocations: 0 / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3109, allocations: 8 kB / 0.566 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3109, allocations: 0 / 0.566 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.311, allocations: 39.91 kB / 0.5661 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.3114, allocations: 264.4 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.3117, allocations: 74.53 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.469e-05/0.3118, allocations: 28.84 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.3118, allocations: 96 / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.312, allocations: 83.31 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.312, allocations: 3.938 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008732/0.3128, allocations: 281.3 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.3129, allocations: 59.39 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.3132, allocations: 263.7 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.3132, allocations: 29.7 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.868e-05/0.3133, allocations: 116.1 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.3133, allocations: 39.69 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.3134, allocations: 25.72 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3135, allocations: 334.8 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.889e-05/0.3136, allocations: 35.98 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.3137, allocations: 53.69 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.3139, allocations: 101.6 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3139, allocations: 3.938 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002747/0.3142, allocations: 145.5 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3142, allocations: 4 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3142, allocations: 0 / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3142, allocations: 8.031 kB / 0.568 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/0.3143, allocations: 19.98 kB / 0.568 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3143, allocations: 4 kB / 0.568 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.693e-05/0.3144, allocations: 11.89 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.3144, allocations: 7.984 kB / 0.568 GB, free: 13.81 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 (14): * Single equations (assignments): 14 * 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.000125/0.3145, allocations: 140.9 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.3146, allocations: 15.91 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.3149, allocations: 179.2 kB / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3149, allocations: 0 / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.315, allocations: 11.98 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.315, allocations: 7.938 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.3156, allocations: 427.6 kB / 0.5687 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3156, allocations: 3.984 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.277e-05/0.3157, allocations: 20 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3157, allocations: 7.938 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3157, allocations: 0 / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3157, allocations: 4 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.3157, allocations: 7.969 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.316, allocations: 265.1 kB / 0.569 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.3161, allocations: 15.89 kB / 0.5691 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.3161, allocations: 11.94 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.3162, allocations: 4 kB / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.3162, allocations: 15.97 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.3163, allocations: 4 kB / 0.5691 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001915/0.3165, allocations: 197.5 kB / 0.5693 GB, free: 12.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3165, allocations: 0 / 0.5693 GB, free: 12.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003042/0.3168, allocations: 39.86 kB / 0.5693 GB, free: 12.38 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 (14): * Single equations (assignments): 12 * 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.002106/0.3189, allocations: 0.5428 MB / 0.5698 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.3191, allocations: 95.83 kB / 0.5699 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3191, allocations: 0 / 0.5699 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.3192, allocations: 47.92 kB / 0.57 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.3196, allocations: 34.25 kB / 0.57 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/0.3202, allocations: 336.4 kB / 0.5703 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.3203, allocations: 114.8 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.217e-05/0.3204, allocations: 21.06 kB / 0.5705 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.3205, allocations: 23.42 kB / 0.5705 GB, free: 11.37 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3205, allocations: 0 / 0.5705 GB, free: 11.37 MB / 414.1 MB Notification: Performance of Templates: time 0.005842/0.3263, allocations: 2.362 MB / 0.5728 GB, free: 9.035 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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: 5.000263973997789]