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.001323/0.001323, allocations: 107 kB / 21.18 MB, free: 0.6445 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.001469/0.001469, allocations: 209 kB / 24.48 MB, free: 3.938 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.49/1.49, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2347/0.2347, allocations: 46.97 MB / 361.6 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 179] 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.002087/0.002087, allocations: 63.89 kB / 0.4974 GB, free: 7.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3021, allocations: 66.04 MB / 0.5619 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003292/0.3054, allocations: 1.732 MB / 0.5636 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.3073, allocations: 0.9792 MB / 0.5645 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.029e-05/0.3073, allocations: 0 / 0.5645 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.3077, allocations: 107.7 kB / 0.5646 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.308, allocations: 127.5 kB / 0.5648 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.3083, allocations: 87.66 kB / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.3085, allocations: 127.6 kB / 0.565 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3086, allocations: 7.984 kB / 0.565 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.3087, allocations: 63.77 kB / 0.565 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.3088, allocations: 63.8 kB / 0.5651 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.3088, allocations: 4 kB / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.3089, allocations: 63.97 kB / 0.5652 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.309, allocations: 31.86 kB / 0.5652 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.785e-05/0.3091, allocations: 39.67 kB / 0.5652 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.3093, allocations: 145.8 kB / 0.5654 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3093, allocations: 0 / 0.5654 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3093, allocations: 0 / 0.5654 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3093, allocations: 0 / 0.5654 GB, free: 0.5625 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.0006378/0.31, allocations: 385.3 kB / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.31, allocations: 12.03 kB / 0.5657 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.3101, allocations: 16.78 kB / 0.5658 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.3104, allocations: 166.4 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.3104, allocations: 8.312 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.3105, allocations: 16.06 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.3106, allocations: 57.67 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3106, allocations: 0 / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3107, allocations: 0 / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.3107, allocations: 0 / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.253e-05/0.3107, allocations: 27.98 kB / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.3112, allocations: 248.5 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.3114, allocations: 58.48 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.897e-05/0.3115, allocations: 24.97 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.3115, allocations: 8 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.3117, allocations: 71.45 kB / 0.5664 GB, free: 15.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.3117, allocations: 0 / 0.5664 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008531/0.3125, allocations: 257 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.3126, allocations: 55.41 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.3129, allocations: 250.7 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.3129, allocations: 29.7 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/0.313, allocations: 112.1 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.313, allocations: 43.69 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.3131, allocations: 33.58 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3132, allocations: 326.8 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-05/0.3133, allocations: 35.98 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-05/0.3134, allocations: 45.7 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.3136, allocations: 81.64 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3136, allocations: 0 / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002479/0.3138, allocations: 129.6 kB / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3138, allocations: 8.031 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3138, allocations: 0.7031 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3139, allocations: 4 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/0.3139, allocations: 23.92 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.314, allocations: 3.938 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.428e-05/0.314, allocations: 7.938 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.314, allocations: 7.984 kB / 0.5678 GB, free: 13.87 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.0001319/0.3142, allocations: 129.8 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.3142, allocations: 19.89 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.3146, allocations: 162.9 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3146, allocations: 0 / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3146, allocations: 0 / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.974e-06/0.3146, allocations: 3.938 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006064/0.3152, allocations: 403.7 kB / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3152, allocations: 0 / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.3152, allocations: 15.98 kB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.3153, allocations: 7.938 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.3153, allocations: 4 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3153, allocations: 8.062 kB / 0.5685 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3153, allocations: 0 / 0.5685 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.3156, allocations: 245 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.3157, allocations: 19.89 kB / 0.5688 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.3157, allocations: 3.938 kB / 0.5688 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.3158, allocations: 11.98 kB / 0.5688 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.3159, allocations: 7.984 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.3159, allocations: 4 kB / 0.5688 GB, free: 12.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002176/0.3161, allocations: 196.2 kB / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3161, allocations: 96 / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.3164, allocations: 39.86 kB / 0.569 GB, free: 12.52 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.002375/0.3188, allocations: 0.5501 MB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.319, allocations: 75.91 kB / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.319, allocations: 0 / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.953e-05/0.3191, allocations: 39.92 kB / 0.5697 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.3196, allocations: 44.72 kB / 0.5697 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006342/0.3202, allocations: 304.7 kB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.3203, allocations: 109.1 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.3204, allocations: 16.64 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.3204, allocations: 19.42 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3204, allocations: 4 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of Templates: time 0.005987/0.3264, allocations: 2.211 MB / 0.5723 GB, free: 9.391 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 -s gbode -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: 5.048366445000283]